ConverterRegistry ClassApache log4net™ SDK Documentation
Register of type converters for specific types.
Inheritance Hierarchy

SystemObject
  log4net.Util.TypeConvertersConverterRegistry

Namespace: log4net.Util.TypeConverters
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public sealed class ConverterRegistry

The ConverterRegistry type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAddConverter(Type, Object)
Adds a converter for a specific type.
Public methodStatic memberAddConverter(Type, Type)
Adds a converter for a specific type.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetConvertFrom
Gets the type converter to use to convert values to the destination type.
Public methodStatic memberGetConvertTo
Gets the type converter to use to convert values to the destination type.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
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

Reference