ReadOnlyConfigurationSource Class

Wrapper for IConfigurationSource to block calls to Set(String, String).

Definition

Namespace: Gemstone.Configuration.ReadOnly
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.167 -- Release Build+1e132a4d484f1823d39b71639f55ad9da4974e99
public class ReadOnlyConfigurationSource : IConfigurationSource
Inheritance
Object    ReadOnlyConfigurationSource
Implements
IConfigurationSource

Remarks

Configuration providers are typically designed to load configuration into an in-memory dictionary from their configuration source. Subsequently, the in-memory dictionary can be modified programmatically via the Item indexer. This class blocks calls to Set(String, String) on the underlying configuration source's provider so that static defaults won't be modified when updating configuration.

Constructors

ReadOnlyConfigurationSource Creates a new instance of the ReadOnlyConfigurationSource class.

Methods

Build Builds the IConfigurationProvider for this source.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)

See Also