Show / Hide Table of Contents

Class IntegerSettingDescriptor

Descriptor for an integer numeric setting. Supports min/max range clamping.

Inheritance
object
SettingDescriptor
IntegerSettingDescriptor
Inherited Members
SettingDescriptor.Key
SettingDescriptor.DisplayName
SettingDescriptor.Description
SettingDescriptor.IconSvg
SettingDescriptor.IsVisible
SettingDescriptor.IsRequired
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Zaya.Primitives
Assembly: Zaya.Primitives.dll
Syntax
public sealed class IntegerSettingDescriptor : SettingDescriptor

Constructors

| Edit this page View Source

IntegerSettingDescriptor(string, LocalizedString)

Initializes a new instance of the IntegerSettingDescriptor class.

Declaration
public IntegerSettingDescriptor(string key, LocalizedString displayName)
Parameters
Type Name Description
string key

Machine-readable key for this setting.

LocalizedString displayName

Localizable UI label.

Properties

| Edit this page View Source

DefaultValue

Gets or sets the default integer value.

Declaration
public int? DefaultValue { get; init; }
Property Value
Type Description
int?
| Edit this page View Source

MaxValue

Gets or sets the maximum allowed value (inclusive).

Declaration
public int? MaxValue { get; init; }
Property Value
Type Description
int?
| Edit this page View Source

MinValue

Gets or sets the minimum allowed value (inclusive).

Declaration
public int? MinValue { get; init; }
Property Value
Type Description
int?
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX