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