Search Results for

    Show / Hide Table of Contents
    View Source

    Class LineEndingsExtensions

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class LineEndingsExtensions

    Methods

    View Source

    EnsureNativeLineEndings(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.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • EnsureNativeLineEndings(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX