IConfiguration Methods |
The IConfiguration type exposes the following members.
| Name | Description | |
|---|---|---|
| CanGetValue |
Checks, whether this object can retrieve the value for the specified property, or not.
(Inherited from IPropertySource.) | |
| ContainsValue |
Checks, whether this collection contains the specified property.
(Inherited from IPropertyCollection.) | |
| GetBooleanValue(String) |
Gets the value of a property as a boolean.
| |
| GetBooleanValue(String, Boolean) |
Gets the value of a property as a boolean, or a default value if the
specified property does not exist or its value can not be properly converted.
| |
| GetInt32Value(String) |
Gets the value of a property as an integer.
| |
| GetInt32Value(String, Int32) |
Gets the value of a property as an integer, or a default value if the
specified property does not exist or its value can not be properly converted.
| |
| GetStringListValue(String) |
Gets the value of a property as a string array.
| |
| GetStringListValue(String, String) |
Gets the value of a property as a string array, or a default value if the
specified property does not exist or its value can not be properly converted.
| |
| GetStringValue(String) |
Gets the value of a property as a string.
| |
| GetStringValue(String, String) |
Gets the value of a property as a string, or a default value if the
specified property does not exist or its value can not be properly converted.
| |
| GetValue(String) |
Gets the value of the specified property.
(Inherited from IPropertySource.) | |
| GetValue(String, Object) |
Gets the value of the specified property, or a given default value,
in case the specified property does not exist.
(Inherited from IPropertyCollection.) | |
| PropertyNames |
Gets the names from all existing properties.
(Inherited from IPropertyCollection.) | |
| ResetValue |
Resets the specified property.
(Inherited from IPropertyTarget.) | |
| SetValue(String, Boolean) |
Sets a boolean value for the specified property.
| |
| SetValue(String, Int32) |
Sets an integer value for the specified property.
| |
| SetValue(String, String) |
Sets a string value for the specified property.
| |
| SetValue(String, String) |
Sets a string array value for the specified property.
| |
| SetValue(String, Object) |
Sets the value of the specified property.
If the property did exist until now, it is created.
(Inherited from IPropertyTarget.) |