Show / Hide Table of Contents

    Class CharSegment

    Represents the char segment.

    Inheritance
    Object
    Segment<Char>
    CharSegment
    Implements
    IList<Char>
    Inherited Members
    Segment<Char>.Base
    Segment<Char>.Offset
    Segment<Char>.Length
    Segment<Char>.Item[Int32]
    Segment<Char>.Count
    Segment<Char>.IsReadOnly
    Segment<Char>.IndexOf(Char)
    Segment<Char>.Insert(Int32, Char)
    Segment<Char>.RemoveAt(Int32)
    Segment<Char>.Add(Char)
    Segment<Char>.Clear()
    Segment<Char>.Contains(Char)
    Segment<Char>.CopyTo(Char[], Int32)
    Segment<Char>.Remove(Char)
    Segment<Char>.GetEnumerator()
    Namespace: Platform.Collections.Segments
    Assembly: Platform.Collections.dll
    Syntax
    public class CharSegment : Segment<char>, IList<char>

    Constructors

    | Improve this Doc View Source

    CharSegment(IList<Char>, Int32, Int32)

    Initializes a new CharSegment instance.

    Declaration
    public CharSegment(IList<char> base, int offset, int length)
    Parameters
    Type Name Description
    IList<Char> base
    Int32 offset

    A offset.

    Int32 length

    A length.

    Methods

    | Improve this Doc View Source

    Equals(Segment<Char>)

    Determines whether this instance equals.

    Declaration
    public override bool Equals(Segment<char> other)
    Parameters
    Type Name Description
    Segment<Char> other

    The other.

    Returns
    Type Description
    Boolean

    The bool

    Overrides
    Platform.Collections.Segments.Segment<System.Char>.Equals(Platform.Collections.Segments.Segment<System.Char>)
    | Improve this Doc View Source

    Equals(Object)

    Determines whether this instance equals.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The obj.

    Returns
    Type Description
    Boolean

    The bool

    Overrides
    Platform.Collections.Segments.Segment<System.Char>.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    The int

    Overrides
    Platform.Collections.Segments.Segment<System.Char>.GetHashCode()
    | Improve this Doc View Source

    ToString()

    Returns the string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    The string

    Operators

    | Improve this Doc View Source

    Implicit(CharSegment to String)

    Declaration
    public static implicit operator string (CharSegment segment)
    Parameters
    Type Name Description
    CharSegment segment
    Returns
    Type Description
    String

    Implements

    IList<>
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX