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: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
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