Click or drag to resize

MessageTemplateParameter Structure

Description of a single parameter extracted from a MessageTemplate

Namespace:  NLog.MessageTemplates
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public struct MessageTemplateParameter

The MessageTemplateParameter type exposes the following members.

Constructors
  NameDescription
Public methodMessageTemplateParameter
Constructs a single message template parameter
Top
Properties
  NameDescription
Public propertyCaptureType
Parameter method that should be used to render the parameter See also IValueFormatter
Public propertyFormat
Format to render the parameter. This is everything between ":" and the first unescaped "}"
Public propertyName
Parameter Name extracted from Message This is everything between "{" and the first of ",:}".
Public propertyPositionalIndex
Returns index for Parameters, when IsPositional
Public propertyValue
Parameter Value extracted from the Parameters-array
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
See Also