Click or drag to resize

LineEndingModeEquality Operator

Compares two LineEndingMode objects and returns a value indicating whether the first one is equal to the second one.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public static bool operator ==(
	LineEndingMode mode1,
	LineEndingMode mode2
)

Parameters

mode1
Type: NLog.TargetsLineEndingMode
The first level.
mode2
Type: NLog.TargetsLineEndingMode
The second level.

Return Value

Type: Boolean
The value of mode1.NewLineCharacters == mode2.NewLineCharacters.
See Also