Click or drag to resize

ObjectPathRendererWrapper Class

Render a single property of a object
Inheritance Hierarchy
SystemObject
  NLog.LayoutRenderersLayoutRenderer
    NLog.LayoutRenderers.WrappersWrapperLayoutRendererBase
      NLog.LayoutRenderers.WrappersObjectPathRendererWrapper

Namespace:  NLog.LayoutRenderers.Wrappers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public sealed class ObjectPathRendererWrapper : WrapperLayoutRendererBase

The ObjectPathRendererWrapper type exposes the following members.

Constructors
  NameDescription
Public methodObjectPathRendererWrapper
Initializes a new instance of the ObjectPathRendererWrapper class
Top
Properties
  NameDescription
Public propertyCulture
Gets or sets the culture used for rendering.
Public propertyFormat
Format string for conversion from object to string.
Public propertyInner
Gets or sets the wrapped layout. [DefaultParameter] so Inner: is not required if it's the first
(Inherited from WrapperLayoutRendererBase.)
Public propertyObjectPath
Gets or sets the object-property-navigation-path for lookup of nested property
Public propertyPath
Gets or sets the object-property-navigation-path for lookup of nested property Shortcut for ObjectPath
Top
Methods
  NameDescription
Public methodRender
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from LayoutRenderer.)
Public methodTryGetPropertyValue
Lookup property-value from source object based on ObjectPath
Top
Remarks
See Also