log4net SDK Reference

ConverterRegistry.AddConverter Method (Type, Object)

Adds a converter for a specific type.

[Visual Basic]
Overloads Public Shared Sub AddConverter( _
   ByVal destinationType As Type, _
   ByVal converter As Object _
)
[C#]
public static void AddConverter(
   Type destinationType,
   object converter
);

Parameters

destinationType
The type being converted to.
converter
The type converter to use to convert to the destination type.

Remarks

Adds a converter instance for a specific type.

See Also

ConverterRegistry Class | log4net.Util.TypeConverters Namespace | ConverterRegistry.AddConverter Overload List