Class SerenityHubLearnView
Curated documentation view (spec §7, design ADR-9): Designer Quickstart, Sample Scene Guide, the Cookbooks folder, the AI Agent Skills installer (looked up as a catalog entry, launched the same way any tool card is), and a link to the generated DocFX site that degrades gracefully — never throws, never silently no-ops — when the site has not been built yet.
Implements
Inherited Members
Namespace: Serenity.Localization.Installation.Settings.Editor.Hub.Views
Assembly: Serenity.UnityLocalization.Installation.Editor.dll
Syntax
public sealed class SerenityHubLearnView : ISerenityHubView
Constructors
SerenityHubLearnView(Func<bool>)
Declaration
public SerenityHubLearnView(Func<bool> docFxSiteExists = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<bool> | docFxSiteExists |
Properties
Id
Stable identifier — one of SerenityHubViewIds.
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
Root
The view's root visual tree, mounted into the window's content host.
Declaration
public VisualElement Root { get; }
Property Value
| Type | Description |
|---|---|
| VisualElement |
Methods
OnShow(SerenityHubContext)
Rebuilds the view's content from context. Called every time it becomes active.
Declaration
public void OnShow(SerenityHubContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerenityHubContext | context |