NLog.Layouts.Layout<T>
Typed Layout for easy conversion from NLog Layout logic to a simple value (ex. integer or enum)
Fixed value
Is fixed value?
Initializes a new instance of the Layout<T> class.
Initializes a new instance of the Layout<T> class.
Initializes a new instance of the Layout<T> class.
public static Layout<T> FromMethod(Func<LogEventInfo, T> layoutMethod, LayoutRenderOptions options = 0)
Create a typed layout from a lambda method.
Implements the operator == using FixedValue
Converts a given value to a Layout<T>.
Converts a given text to a Layout<T>.
Implements the operator != using FixedValue
Implements Equals using FixedValue