Click or drag to resize

ValueTypeLayoutInfo Class

Typed Value that is easily configured from NLog.config file
Inheritance Hierarchy
SystemObject
  NLog.LayoutsValueTypeLayoutInfo

Namespace:  NLog.Layouts
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public sealed class ValueTypeLayoutInfo

The ValueTypeLayoutInfo type exposes the following members.

Constructors
  NameDescription
Public methodValueTypeLayoutInfo
Initializes a new instance of the ValueTypeLayoutInfo class.
Top
Properties
  NameDescription
Public propertyDefaultValue
Gets or sets the fallback value when result value is not available
Public propertyForceDefaultValueNull
Gets or sets the fallback value should be null (instead of default value of ValueType) when result value is not available
Public propertyLayout
Gets or sets the layout that will render the result value
Public propertyValueParseCulture
Gets or sets the culture used for parsing parameter string-value for type-conversion
Public propertyValueParseFormat
Gets or sets format used for parsing parameter string-value for type-conversion
Public propertyValueType
Gets or sets the result value type, for conversion of layout rendering output
Top
Methods
  NameDescription
Public methodRenderValue
Render Result Value
Top
See Also