RendererMap ClassApache log4net™ SDK Documentation
Map class objects to an IObjectRenderer.
Inheritance Hierarchy

SystemObject
  log4net.ObjectRendererRendererMap

Namespace: log4net.ObjectRenderer
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public class RendererMap

The RendererMap type exposes the following members.

Constructors

  NameDescription
Public methodRendererMap
Default Constructor
Top
Properties

  NameDescription
Public propertyDefaultRenderer
Get the default renderer instance
Top
Methods

  NameDescription
Public methodClear
Clear the map of renderers
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindAndRender(Object)
Render obj using the appropriate renderer.
Public methodFindAndRender(Object, TextWriter)
Render obj using the appropriate renderer.
Public methodGet(Object)
Gets the renderer for the specified object type
Public methodGet(Type)
Gets the renderer for the specified type
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPut
Register an IObjectRenderer for typeToRender.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
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

Reference