Class SerenityHubValidateView
Renders every catalog entry in Validate as either a report card
(non-null ValidatorKind) or an open-tool card (null ValidatorKind), plus the Catalog
Staleness report card — the one Validate card with no backing catalog entry at all (design ADR-4c: it has
no real [MenuItem]/window of its own, so it is wired directly here instead of through the catalog).
Opening this view never runs a validator — cards render whatever is already cached (spec §5).
Since UX feedback round 4, the two card kinds render as two Foldout sections — "Validators" (report cards) first, then "Tools" (open-tool cards) — instead of one flat interleaved grid, reusing BuildSection(string, IReadOnlyList<VisualElement>) for the same chrome the path-derived Create/Browse/Advanced sections use.
Implements
Inherited Members
Namespace: Serenity.Localization.Installation.Settings.Editor.Hub.Views
Assembly: Serenity.UnityLocalization.Installation.Editor.dll
Syntax
public sealed class SerenityHubValidateView : ISerenityHubView
Constructors
SerenityHubValidateView(Func<string, SerenityValidationReport>)
Declaration
public SerenityHubValidateView(Func<string, SerenityValidationReport> runValidator = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<string, SerenityValidationReport> | runValidator |
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 |