Click or drag to resize

LineEndingMode Class

Line ending mode.
Inheritance Hierarchy
SystemObject
  NLog.TargetsLineEndingMode

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
[TypeConverterAttribute(typeof(LineEndingModeLineEndingModeConverter))]
public sealed class LineEndingMode : IEquatable<LineEndingMode>

The LineEndingMode type exposes the following members.

Properties
  NameDescription
Public propertyName
Gets the name of the LineEndingMode instance.
Public propertyNewLineCharacters
Gets the new line characters (value) of the LineEndingMode instance.
Top
Methods
  NameDescription
Public methodEquals(LineEndingMode)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodStatic memberFromString
Returns the LineEndingMode that corresponds to the supplied name.
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two LineEndingMode objects and returns a value indicating whether the first one is equal to the second one.
Public operatorStatic memberInequality
Compares two LineEndingMode objects and returns a value indicating whether the first one is not equal to the second one.
Top
Fields
  NameDescription
Public fieldStatic memberCR
Insert CR character (ASCII 13) after each line.
Public fieldStatic memberCRLF
Insert CR LF sequence (ASCII 13, ASCII 10) after each line.
Public fieldStatic memberDefault
Insert platform-dependent end-of-line sequence after each line.
Public fieldStatic memberLF
Insert LF character (ASCII 10) after each line.
Public fieldStatic memberNone
Do not insert any line ending.
Public fieldStatic memberNull
Insert null terminator (ASCII 0) after each line.
Top
See Also