Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LoggerRepositorySkeleton.AddRenderer�Method�

Adds an object renderer for a specific class.

[Visual�Basic]
Overridable�Public�Sub�AddRenderer( _
���ByVal typeToRender�As�Type,�_
���ByVal rendererInstance�As�IObjectRenderer�_
)
[C#]
public�virtual�void�AddRenderer(
���TypetypeToRender,
���IObjectRendererrendererInstance
);

Parameters

typeToRender
The type that will be rendered by the renderer supplied.
rendererInstance
The object renderer used to render the object.

Remarks

Adds an object renderer for a specific class.

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace