Class LangSettingDescriptionAttribute
Used to describe a method, field, or property on a GlobalSettings object, but also uses GetString(string, string, string) to translate it
Implements
Inherited Members
Namespace: WeaverCore.Settings
Assembly: WeaverCore.dll
Syntax
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class LangSettingDescriptionAttribute : SettingDescriptionAttribute_BASE, _Attribute
Constructors
| Edit this page View SourceLangSettingDescriptionAttribute(string, string)
Applies a description to the settings property
Declaration
public LangSettingDescriptionAttribute(string key, string fallback = null)
Parameters
Type | Name | Description |
---|---|---|
string | key | |
string | fallback |
LangSettingDescriptionAttribute(string, string, string)
Applies a description to the settings property
Declaration
public LangSettingDescriptionAttribute(string sheetTitle, string key, string fallback = null)
Parameters
Type | Name | Description |
---|---|---|
string | sheetTitle | |
string | key | |
string | fallback |