Skip to content

98a50f68 ec5b b219 4974 d9f7222e6849

Axel Kesseler edited this page Mar 1, 2023 · 1 revision

ResolverFacade.GetNewLine Method

Gets the newline string defined for this environment.

Namespace: Plexdata.LogWriter.Internals.Facades
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1

Syntax

C#

public string GetNewLine()

Return Value

Type: String
A string containing the platform-specific value for a new line.

Implements

IResolverFacade.GetNewLine()

Remarks

Unfortunately, the original documentation of NewLine only mentions non-Unix and Unix platforms and not Apple platforms, which should use '\r' instead. Hopefully it is done right for Apple platforms as well.

See Also

Reference

ResolverFacade Class
Plexdata.LogWriter.Internals.Facades Namespace
Environment.NewLine

Clone this wiki locally