Interface IConfigurationSetDesiredStateStore
Persistence-neutral control contract for optional desired configuration-set state.
Namespace: Eigenverft.NetLib.Infrastructure.Hosting.Configuration.ConfigurationSets
Assembly: Eigenverft.NetLib.Infrastructure.dll
Syntax
public interface IConfigurationSetDesiredStateStore
Remarks
A control plane can depend on this interface without knowing whether desired state is backed by a local JSON file or another implementation. Runtime-only control remains available independently through IConfigurationSetManager.
Methods
| Edit this page View SourceGetDesiredStateStatus()
Captures desired/active/apply-mode snapshots for all sets managed by this desired-state store.
Declaration
IReadOnlyList<ConfigurationSetStateStatus> GetDesiredStateStatus()
Returns
| Type | Description |
|---|---|
| IReadOnlyList<ConfigurationSetStateStatus> |
TrySetDesiredValue(string, string)
Persists one allowed desired value and honors the set's registered apply mode.
Declaration
ConfigurationSetStateApplyResult TrySetDesiredValue(string setName, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | setName | |
| string | value |
Returns
| Type | Description |
|---|---|
| ConfigurationSetStateApplyResult |