Click or drag to resize

AmbientPropertyAttribute Class

Designates a property of the class as an ambient property.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    NLog.ConfigNameBaseAttribute
      NLog.LayoutRenderersAmbientPropertyAttribute

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

The AmbientPropertyAttribute type exposes the following members.

Constructors
  NameDescription
Public methodAmbientPropertyAttribute
Initializes a new instance of the AmbientPropertyAttribute class.
Top
Properties
  NameDescription
Public propertyName
Gets the name of the type-alias
(Inherited from NameBaseAttribute.)
Top
Examples
non-ambient: ${uppercase:${level}} ambient : ${level:uppercase}
See Also