Click or drag to resize

ScopeContextPropertyLayoutRenderer Class

Renders specified property-item from ScopeContext
Inheritance Hierarchy
SystemObject
  NLog.LayoutRenderersLayoutRenderer
    NLog.LayoutRenderersScopeContextPropertyLayoutRenderer

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public sealed class ScopeContextPropertyLayoutRenderer : LayoutRenderer

The ScopeContextPropertyLayoutRenderer type exposes the following members.

Constructors
  NameDescription
Public methodScopeContextPropertyLayoutRenderer
Initializes a new instance of the ScopeContextPropertyLayoutRenderer 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 propertyItem
Gets or sets the name of the item.
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.)
Top
Remarks
See Also