Click or drag to resize

LayoutIsNullOrEmpty Method

Indicates whether the specified layout is null or Empty.

Namespace:  NLog.Layouts
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static bool IsNullOrEmpty(
	Layout? layout
)

Parameters

layout
Type: NLog.LayoutsLayout
The layout instance to test.

Return Value

Type: Boolean
true if the value parameter is null or Empty; otherwise, false.
See Also