Map class objects to an IObjectRenderer.
Inheritance Hierarchy
log4net.ObjectRendererRendererMap
Namespace: log4net.ObjectRenderer
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The RendererMap type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | RendererMap |
Default Constructor
|
Properties
Name | Description | |
---|---|---|
![]() | DefaultRenderer |
Get the default renderer instance
|
Methods
Name | Description | |
---|---|---|
![]() | Clear |
Clear the map of renderers
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | FindAndRender(Object) |
Render obj using the appropriate renderer.
|
![]() | FindAndRender(Object, TextWriter) |
Render obj using the appropriate renderer.
|
![]() | Get(Object) |
Gets the renderer for the specified object type
|
![]() | Get(Type) |
Gets the renderer for the specified type
|
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | Put |
Register an IObjectRenderer for typeToRender.
|
![]() | ToString | (Inherited from Object.) |
Remarks
Maintains a mapping between types that require special rendering and the IObjectRenderer that is used to render them.
The [M:FindAndRender(object)] method is used to render an object using the appropriate renderers defined in this map.
See Also