Class GatewayConfig
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
Gateway-global settings.
public sealed record GatewayConfig : IEquatable<GatewayConfig>
- Inheritance
-
GatewayConfig
- Implements
- Inherited Members
Constructors
GatewayConfig(IReadOnlyDictionary<string, SettingValue?>, ulong)
Gateway-global settings.
public GatewayConfig(IReadOnlyDictionary<string, SettingValue?> Settings, ulong SettingsRevision)
Parameters
SettingsIReadOnlyDictionary<string, SettingValue>Settings by key; a registered key without a value maps to null.
SettingsRevisionulongMonotonic revision of the global settings.
Properties
Settings
Settings by key; a registered key without a value maps to null.
public IReadOnlyDictionary<string, SettingValue?> Settings { get; init; }
Property Value
SettingsRevision
Monotonic revision of the global settings.
public ulong SettingsRevision { get; init; }