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
tabstringThe name of the tab to register the setting to.
categorystringThe 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
Tab
Gets the name of the tab to register the setting to.
public string Tab { get; }