Adds a converter for a specific type.
Namespace: log4net.Util.TypeConvertersAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
public static void AddConverter(
Type destinationType,
Object converter
)
public static void AddConverter(
Type destinationType,
Object converter
)
Public Shared Sub AddConverter (
destinationType As Type,
converter As Object
)
Public Shared Sub AddConverter (
destinationType As Type,
converter As Object
)
public:
static void AddConverter(
Type^ destinationType,
Object^ converter
)
public:
static void AddConverter(
Type^ destinationType,
Object^ converter
)
Parameters
- destinationType
- Type: System Type
The type being converted to.
- converter
- Type: System Object
The type converter to use to convert to the destination type.
Adds a converter instance for a specific type.