Show / Hide Table of Contents

    Class StringBuffer

    A type like System.Text.StringBuilder but only do concat.

    Inheritance
    Object
    StringBuffer
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:Microsoft.DocAsCode.MarkdownLite
    Assembly:Microsoft.DocAsCode.MarkdownLite.dll
    Syntax
    public sealed class StringBuffer

    Fields

    | Improve this Doc View Source

    Empty

    An empty StringBuffer.

    Declaration
    public static readonly StringBuffer Empty
    Field Value
    Type Description
    StringBuffer

    Methods

    | Improve this Doc View Source

    Append(String)

    Declaration
    public StringBuffer Append(string str)
    Parameters
    Type Name Description
    String str
    Returns
    Type Description
    StringBuffer
    | Improve this Doc View Source

    Clone()

    Declaration
    public StringBuffer Clone()
    Returns
    Type Description
    StringBuffer
    | Improve this Doc View Source

    Concat(StringBuffer)

    Declaration
    public StringBuffer Concat(StringBuffer another)
    Parameters
    Type Name Description
    StringBuffer another
    Returns
    Type Description
    StringBuffer
    | Improve this Doc View Source

    EndsWith(Char)

    Declaration
    public bool EndsWith(char character)
    Parameters
    Type Name Description
    Char character
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    EndsWith(String)

    Declaration
    public bool EndsWith(string text)
    Parameters
    Type Name Description
    String text
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    GetLength()

    Declaration
    public int GetLength()
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    StartsWith(Char)

    Declaration
    public bool StartsWith(char character)
    Parameters
    Type Name Description
    Char character
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    StartsWith(String)

    Declaration
    public bool StartsWith(string text)
    Parameters
    Type Name Description
    String text
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Operators

    | Improve this Doc View Source

    Addition(StringBuffer, StringBuffer)

    Declaration
    public static StringBuffer operator +(StringBuffer buffer, StringBuffer another)
    Parameters
    Type Name Description
    StringBuffer buffer
    StringBuffer another
    Returns
    Type Description
    StringBuffer
    | Improve this Doc View Source

    Addition(StringBuffer, String)

    Declaration
    public static StringBuffer operator +(StringBuffer buffer, string value)
    Parameters
    Type Name Description
    StringBuffer buffer
    String value
    Returns
    Type Description
    StringBuffer
    | Improve this Doc View Source

    Implicit(StringBuffer to String)

    Declaration
    public static implicit operator string (StringBuffer buffer)
    Parameters
    Type Name Description
    StringBuffer buffer
    Returns
    Type Description
    String
    | Improve this Doc View Source

    Implicit(String to StringBuffer)

    Declaration
    public static implicit operator StringBuffer(string value)
    Parameters
    Type Name Description
    String value
    Returns
    Type Description
    StringBuffer

    Extension Methods

    JsonUtility.ToJsonString(Formatting, JsonSerializer)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2015-2016 Microsoft
    Generated by DocFX