Show / Hide Table of Contents

    Struct StringReference

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Bayat.Json.Utilities
    Assembly: Bayat.Json.Runtime.dll
    Syntax
    public struct StringReference

    Constructors

    | Improve this Doc View Source

    StringReference(Char[], Int32, Int32)

    Declaration
    public StringReference(char[] chars, int startIndex, int length)
    Parameters
    Type Name Description
    System.Char[] chars
    System.Int32 startIndex
    System.Int32 length

    Properties

    | Improve this Doc View Source

    Chars

    Declaration
    public readonly char[] Chars { get; }
    Property Value
    Type Description
    System.Char[]
    | Improve this Doc View Source

    Item[Int32]

    Declaration
    public readonly char this[int i] { get; }
    Parameters
    Type Name Description
    System.Int32 i
    Property Value
    Type Description
    System.Char
    | Improve this Doc View Source

    Length

    Declaration
    public readonly int Length { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    StartIndex

    Declaration
    public readonly int StartIndex { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    ToString()

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

    Extension Methods

    StringReferenceExtensions.IndexOf(StringReference, Char, Int32, Int32)
    StringReferenceExtensions.StartsWith(StringReference, String)
    StringReferenceExtensions.EndsWith(StringReference, String)
    • Improve this Doc
    • View Source
    • 0 Comments