Decorates a TitleCase setting with the correct name for the setting within an ini file.
More...
|
| SettingAttribute (string name) |
| SettingAttribute (string name, string section) |
| Define a setting in the provided section.
|
| SettingAttribute (string name, string section, bool isBare, bool ignoreIfNull) |
| Define a setting in the provided section.
|
| SettingAttribute (string name, bool isBare) |
|
const string | DEFAULT_SECTION = "mysqld" |
| The default section for applying settings, if not specified.
|
|
string | Name [get] |
| The name of the setting to use when writing out the file.
|
bool | IsBare [get] |
| Whether or not this is a "bare" setting. Bare settings are controlled by boolean values and either appear or not - they don't have a value set to them, eg skip-name-resolve.
|
string | Section [get] |
| The section in my.ini to which this setting belongs (default: mysqld)
|
bool | IgnoreIfNull [get] |
| If the value is null and this flag is set, then no extra output for this setting will be done, meaning you'll get the default values for mysql, whatever they are.
|
Decorates a TitleCase setting with the correct name for the setting within an ini file.
◆ SettingAttribute() [1/2]
PeanutButter.TempDb.MySql.Base.SettingAttribute.SettingAttribute |
( |
string | name, |
|
|
string | section ) |
Define a setting in the provided section.
- Parameters
-
◆ SettingAttribute() [2/2]
PeanutButter.TempDb.MySql.Base.SettingAttribute.SettingAttribute |
( |
string | name, |
|
|
string | section, |
|
|
bool | isBare, |
|
|
bool | ignoreIfNull ) |
Define a setting in the provided section.
If isBare is true, then the setting will only be set if the flag it decorates is true and the setting will have no value (ie, the setting name alone will be on one line in the requested section)
- Parameters
-
name | |
section | |
isBare | |
ignoreIfNull | |
- Exceptions
-
The documentation for this class was generated from the following file:
- source/TempDb/PeanutButter.TempDb.MySql.Base/SettingAttribute.cs