|
Ads API .NET library
|
A config setting of a specified type, to be used with AppConfigBase and derived classes. More...
Public Member Functions | |
| ConfigSetting (string name, T defaultValue) | |
| Initializes a new instance of the ConfigSetting{T} class. More... | |
| override void | TryParse (string valueText) |
| Tries to parse a value. More... | |
Properties | |
| T | Value [get, set] |
| Gets or sets the value of the setting. More... | |
| T | DefaultValue [get, set] |
| Gets the default value of the setting. More... | |
Properties inherited from Google.Api.Ads.Common.Config.ConfigSetting | |
| string | Name [get, set] |
| Gets the name of the setting. More... | |
A config setting of a specified type, to be used with AppConfigBase and derived classes.
| T | The type of the setting. |
|
inline |
Initializes a new instance of the ConfigSetting{T} class.
| name | Name of the setting. |
| defaultValue | The default value. |
|
inlinevirtual |
Tries to parse a value.
| valueText | The value text. |
Implements Google.Api.Ads.Common.Config.ConfigSetting.
|
getset |
Gets the default value of the setting.
|
getset |
Gets or sets the value of the setting.