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.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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