Class LineEndingsExtensions
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Extensions
Assembly: Umbraco.Core.dll
Syntax
public static class LineEndingsExtensions
Methods
View SourceEnsureNativeLineEndings(String)
Ensures native line endings.
Declaration
public static string EnsureNativeLineEndings(this string text)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | the text to ensure native line endings for. |
Returns
| Type | Description |
|---|---|
| System.String | the text with native line endings. |