Interface IConfigurationSection
Defines basic configuration section methods
Namespace: RadLibrary.Configuration
Assembly: RadLibrary.dll
Syntax
public interface IConfigurationSection
Properties
| Improve this Doc View SourceComment
The comment (null if none or unsupported)
Declaration
[CanBeNull]
string Comment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Item[String]
Get child section by key
Declaration
[NotNull]
IConfigurationSection this[[NotNull] string key] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key |
Property Value
Type | Description |
---|---|
IConfigurationSection |
Key
The key
Declaration
[NotNull]
string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
The value
Declaration
[CanBeNull]
string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceSetValue<T>(T)
Sets value of this section
Declaration
void SetValue<T>([CanBeNull] T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value |
Type Parameters
Name | Description |
---|---|
T | The type of value |
ValueAs<TU>()
Declaration
TU ValueAs<TU>()
where TU : new()
Returns
Type | Description |
---|---|
TU |
Type Parameters
Name | Description |
---|---|
TU |