ConfigWrapper<T> Class
Definition
Section titled “Definition”Provides access to a single setting inside of a ConfigFile.
[Obsolete("Use ConfigFile from new Bind overloads instead")]public sealed class ConfigWrapper<T>
Type Parameters
Section titled “Type Parameters”T
Type of the setting.
Inheritance object
Properties
Section titled “Properties”ConfigEntry
Section titled “ConfigEntry”Entry of this setting in the ConfigFile.
public ConfigEntry<T> ConfigEntry { get; }
Definition
Section titled “Definition”Unique definition of this setting.
public ConfigDefinition Definition { get; }
ConfigFile
Section titled “ConfigFile”Config file this setting is inside of.
public ConfigFile ConfigFile { get; }
Value of this setting.
public T Value { get; set; }
Events
Section titled “Events”SettingChanged
Section titled “SettingChanged”Fired when the setting is changed. Does not detect changes made outside from this object.
public event EventHandler SettingChanged