Show / Hide Table of Contents

    Method AppendDiagnosticsSentence

    AppendDiagnosticsSentence(String, String)

    Appends a sentence to the current string for diagnostic messages.
    Declaration
    public static string AppendDiagnosticsSentence(this string self, string sentence)
    Parameters
    Type Name Description
    String self The current string to append sentence to.
    String sentence The string to append to the current string with sentence separators..
    Returns
    Type Description
    String Formatted diagnostic message. A full stop and whitespace is added as needed to separate the original message from the appended sentence; additional whitespaces are removed from the end of the current string, unless it ends in a newline. If the current string is null, only sentence is returned. sentence is always trimmed at the start. If sentence is null, the current string is returned unchanged. If both strings are null, null is returned.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.