Class SettingDescriptor
- Namespace
- RDCore.SDK.Server.Configuration
- Assembly
- RDCore.SDK.dll
One setting of the platform: its key, what its value is, when a change of it takes effect, and what it does.
public sealed record SettingDescriptor : IEquatable<SettingDescriptor>
- Inheritance
-
SettingDescriptor
- Implements
- Inherited Members
Remarks
A descriptor is data, which travels where the settings types do not: to a client that completes and checks what is typed for a setting.
Properties
Choices
public IReadOnlyList<string> Choices { get; init; }
Property Value
Description
What it does, in the language of the user interface; null when nothing describes it.
public string? Description { get; init; }
Property Value
IsSettable
Whether a client can change it: every setting but the ones only the deployed configuration sets (Deployment).
public bool IsSettable { get; }
Property Value
IsTrustSensitive
Whether it decides what a program may do to the machine it runs on (TrustSensitiveSettingAttribute).
public bool IsTrustSensitive { get; init; }
Property Value
Key
The key of the setting, its sections and its name separated by dots, as the settings types name them: Server.Verbose. A key is compared
without regard to case.
public string Key { get; init; }
Property Value
Kind
What its value is.
public SettingValueKind Kind { get; init; }
Property Value
Maximum
public long? Maximum { get; init; }
Property Value
- long?
Minimum
public long? Minimum { get; init; }
Property Value
- long?
Reach
When a change of it takes effect (SettingAttribute).
public SettingReach Reach { get; init; }