Interface IConfigurationCollection
A configuration collection represents a single file of configuration. One file can have one single serializer for every section, and multiple filename for the configuration collection.
The enumeration is guaranteed to enumerate in the order in which the section properties were described.
Inherited Members
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, Snowflake.Configuration.IConfigurationSection>>.GetEnumerator()
System.Collections.IEnumerable.GetEnumerator()
Namespace: Snowflake.Configuration
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface IConfigurationCollection : IEnumerable<KeyValuePair<string, IConfigurationSection>>, IEnumerable
Properties
CollectionGuid
The unique GUID of the collection is defined by its value collection GUID.
Declaration
virtual Guid CollectionGuid { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
Descriptor
Gets the descriptor that describes this configuration collection.
Declaration
IConfigurationCollectionDescriptor Descriptor { get; }
Property Value
| Type | Description |
|---|---|
| IConfigurationCollectionDescriptor |
Item[String]
Gets a configuration section by it's property name
Declaration
IConfigurationSection this[string sectionKey] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | sectionKey | The property name of the section |
Property Value
| Type | Description |
|---|---|
| IConfigurationSection | The untyped configuration section with the given property name. |
ValueCollection
Gets the values backing this configuration collection.
Declaration
IConfigurationValueCollection ValueCollection { get; }
Property Value
| Type | Description |
|---|---|
| IConfigurationValueCollection |