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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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