Click or drag to resize

MessageTemplateFormatMethodAttribute Class

Mark a parameter of a method for message templating
Inheritance Hierarchy
SystemObject
  SystemAttribute
    NLogMessageTemplateFormatMethodAttribute

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public sealed class MessageTemplateFormatMethodAttribute : Attribute

The MessageTemplateFormatMethodAttribute type exposes the following members.

Constructors
  NameDescription
Public methodMessageTemplateFormatMethodAttribute
Initializes a new instance of the MessageTemplateFormatMethodAttribute class
Top
Properties
  NameDescription
Public propertyParameterName
The name of the parameter that should be as treated as message-template-string
Top
See Also