Class OnixSettingCategory
- Namespace
- OnixRuntime.Api.OnixClient.Settings
- Assembly
- OnixRuntime.dll
Represents an Onix setting category, allowing grouping of settings with control over included count and open state.
public sealed class OnixSettingCategory : OnixSetting, IDisposable
- Inheritance
-
OnixSettingCategory
- Implements
- Inherited Members
Constructors
OnixSettingCategory(OnixModule?, string, string, int, bool)
Initializes a new instance of the OnixSettingCategory class with the specified parent module, name, description, included count, and open state.
public OnixSettingCategory(OnixModule? parentModule, string name, string description = "", int included = 2147483647, bool isOpen = true)
Parameters
parentModule
OnixModuleThe parent Onix module.
name
stringThe name of the category.
description
stringThe description of the category.
included
intThe number of settings included in this category.
isOpen
boolWhether the category is open by default.
Properties
IncludedCount
Gets or sets the number of settings included in this category.
public int IncludedCount { get; set; }
Property Value
IncludesEverythingUntilNextCategory
Gets a value indicating whether this category includes everything until the next category.
public bool IncludesEverythingUntilNextCategory { get; }
Property Value
IsOpen
Gets or sets a value indicating whether the category is open.
public bool IsOpen { get; set; }