Table of Contents

Class SettingRegister

Namespace
ContentSettings.API.Attributes
Assembly
RedstoneWizard08.ContentLibrary.dll

Register a setting to the settings manager.

[MeansImplicitUse]
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
public class SettingRegister : Attribute
Inheritance
SettingRegister
Inherited Members

Remarks

Initializes a new instance of the SettingRegister class.

Constructors

SettingRegister(string, string?)

Register a setting to the settings manager.

public SettingRegister(string tab, string? category = null)

Parameters

tab string

The name of the tab to register the setting to.

category string

The name of the tab category to register the setting to.

Remarks

Initializes a new instance of the SettingRegister class.

Properties

Category

Gets the name of the tab category to register the setting to.

public string? Category { get; }

Property Value

string

Tab

Gets the name of the tab to register the setting to.

public string Tab { get; }

Property Value

string