Register of type converters for specific types.
Inheritance Hierarchy
log4net.Util.TypeConvertersConverterRegistry
Namespace: log4net.Util.TypeConverters
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
The ConverterRegistry type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddConverter(Type, Object) |
Adds a converter for a specific type.
| |
AddConverter(Type, Type) |
Adds a converter for a specific type.
| |
Equals | (Inherited from Object.) | |
GetConvertFrom |
Gets the type converter to use to convert values to the destination type.
| |
GetConvertTo |
Gets the type converter to use to convert values to the destination type.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
ToString | (Inherited from Object.) |
Remarks
Maintains a registry of type converters used to convert between types.
Use the [M:AddConverter(Type, object)] and [M:AddConverter(Type, Type)] methods to register new converters. The GetConvertTo(Type, Type) and GetConvertFrom(Type) methods lookup appropriate converters to use.
See Also