Table of Contents

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 OnixModule

The parent Onix module.

name string

The name of the category.

description string

The description of the category.

included int

The number of settings included in this category.

isOpen bool

Whether 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

int

IncludesEverythingUntilNextCategory

Gets a value indicating whether this category includes everything until the next category.

public bool IncludesEverythingUntilNextCategory { get; }

Property Value

bool

IsOpen

Gets or sets a value indicating whether the category is open.

public bool IsOpen { get; set; }

Property Value

bool