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.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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