Click or drag to resize

YConfigurationProviderT Class

Represents a Configuration provider on the given enum.
Inheritance Hierarchy
SystemObject
  Upsilon.Common.LibraryYConfigurationProviderT

Namespace: Upsilon.Common.Library
Assembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax
C#
public class YConfigurationProvider<T>
where T : Enum

Type Parameters

T
The enum type of the configuration file. Each element of the enum will have its own configuration object.

The YConfigurationProviderT type exposes the following members.

Constructors
 NameDescription
Public methodYConfigurationProviderT Create a new configuration provider from the given configurationFile.
Top
Properties
 NameDescription
Public propertyConfigurationFile The configuration file path.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetConfigurationU Get the configuration value of the given configuration key.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasConfiguration Check if the given configuration key has a value.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetConfiguration Set the configuration value of the given configuration key.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetMD5HashCode Get the MD5 Hash code of an Objectobj as a string.
(Defined by YObjectExtentionMethods)
Public Extension MethodSerializeObject Serialize an ObjecttoSerialize.
(Defined by YSerializationCenter)
Top
See Also