Class SerenityThemeBuilderReport
Result of CreateFromJson(string), mirroring Serenity.Ui.Installation.Editor.Settings.Builder.ThemeCreator.Result for headless/agent consumption: what was created, what was skipped, and why it failed if it did.
Inherited Members
Namespace: Serenity.Ui.Installation.Editor.Settings.Builder
Assembly: Serenity.UnityUi.Installation.Editor.dll
Syntax
public sealed class SerenityThemeBuilderReport
Constructors
SerenityThemeBuilderReport()
Declaration
public SerenityThemeBuilderReport()
Properties
ActiveThemeWarning
Declaration
public string ActiveThemeWarning { get; }
Property Value
| Type | Description |
|---|---|
| string | Non-fatal warning from assigning the new theme as active on |
CreatedPaths
Declaration
public List<string> CreatedPaths { get; }
Property Value
| Type | Description |
|---|---|
| List<string> | Every asset/folder path created by this run. |
Error
Declaration
public string Error { get; }
Property Value
| Type | Description |
|---|---|
| string | Failure reason. Null/empty on success. |
Success
Declaration
public bool Success { get; }
Property Value
| Type | Description |
|---|---|
| bool | True when the theme was generated (spec resolution and Serenity.Ui.Installation.Editor.Settings.Builder.ThemeCreator.Create(Serenity.Ui.Installation.Editor.Settings.Builder.ThemeCreator.Input) both succeeded). |
ThemeAssetPath
Declaration
public string ThemeAssetPath { get; }
Property Value
| Type | Description |
|---|---|
| string | Project path of the generated |
Warnings
Declaration
public List<string> Warnings { get; }
Property Value
| Type | Description |
|---|---|
| List<string> | Non-fatal warnings (e.g. a sprite border that could not be written). |
Methods
ToConsoleString()
Renders the report as a multi-line string suitable for the console.
Declaration
public string ToConsoleString()
Returns
| Type | Description |
|---|---|
| string |
ToJson()
Renders the report as machine-readable JSON for headless/agent use.
Declaration
public string ToJson()
Returns
| Type | Description |
|---|---|
| string | Pretty-printed JSON. |