LineEndingMode Class |
Namespace: NLog.Targets
The LineEndingMode type exposes the following members.
Name | Description | |
---|---|---|
Name |
Gets the name of the LineEndingMode instance.
| |
NewLineCharacters |
Gets the new line characters (value) of the LineEndingMode instance.
|
Name | Description | |
---|---|---|
Equals(LineEndingMode) | Indicates whether the current object is equal to another object of the same type. | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) | |
FromString |
Returns the LineEndingMode that corresponds to the supplied name.
| |
GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) | |
ToString | Returns a string that represents the current object. (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Equality |
Compares two LineEndingMode objects and returns a
value indicating whether the first one is equal to the second one.
| |
Inequality |
Compares two LineEndingMode objects and returns a
value indicating whether the first one is not equal to the second one.
|
Name | Description | |
---|---|---|
CR |
Insert CR character (ASCII 13) after each line.
| |
CRLF |
Insert CR LF sequence (ASCII 13, ASCII 10) after each line.
| |
Default |
Insert platform-dependent end-of-line sequence after each line.
| |
LF |
Insert LF character (ASCII 10) after each line.
| |
None |
Do not insert any line ending.
| |
Null |
Insert null terminator (ASCII 0) after each line.
|