Class SingletonSettingsResult
The outcome shape every project-wide-singleton settings wizard shares, on top of what
Serenity.Global.Infrastructure.Editor.SerenityCreationResult already carries: where the settings asset ended up, and whether
the run edited one that already existed instead of writing a new one. Base for each module's own
Result type — the result half of
SingletonSettingsCreationEngine<TSettings, TInput, TResult>.
Namespace: Serenity.StructuredPersistence.Infrastructure.Editor.Authoring
Assembly: Serenity.UnityStructuredPersistence.Infrastructure.Editor.dll
Syntax
public abstract class SingletonSettingsResult : SerenityCreationResult
Constructors
SingletonSettingsResult()
Declaration
protected SingletonSettingsResult()
Fields
SettingsAssetPath
The settings asset this run wrote — the created path, or the edited one on an update. Empty when the run failed.
Declaration
public string SettingsAssetPath
Field Value
| Type | Description |
|---|---|
| string |
WasUpdate
True when the run edited an already-existing asset in place rather than creating one.
Declaration
public bool WasUpdate
Field Value
| Type | Description |
|---|---|
| bool |