ChensGradiusMod
Chen.GradiusMod.Modules.ModuleBase
ModuleBase.Bind<T>(string, T, string) Method
Binds a config option under the module’s config section.
protected T Bind<T>(string propertyName, T defaultValue, string description);
Type parameters
Parameters
propertyName System.String
Name of the property that holds the value. It is turned to PascalCase for the config key.
defaultValue T
Default value of the config option
description System.String
Description of the config option
Returns
T
The value of the config option