Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

RendererMap.Put�Method�

Register an IObjectRenderer for typeToRender.

[Visual�Basic]
Public�Sub�Put( _
���ByVal typeToRender�As�Type,�_
���ByVal renderer�As�IObjectRenderer�_
)
[C#]
public�void�Put(
���TypetypeToRender,
���IObjectRendererrenderer
);

Parameters

typeToRender
the type that will be rendered by renderer
renderer
the renderer for typeToRender

Remarks

Register an object renderer for a specific source type. This renderer will be returned from a call to Get specifying the same typeToRender as an argument.

See Also

RendererMap Class | log4net.ObjectRenderer Namespace