SourceText Class

SourceText class

Base class implements the SourceText.

public abstract class SourceText : IDisposable

Properties

NameDescription
abstract getEncoding Get encoding.
abstract getItem Gets the value at the given index.
abstract getLength Get the length.
getLines Get the Lines collection.
getSpan Get the span.

Methods

NameDescription
static From(SourceText[])Define the interface for get SourceText from array of the source.
static From(String)Define the interface for get SourceText from String.
static From(String, Encoding)Define the interface for get SourceText from String and encoding.
abstract CopyTo(int, char[], int, int)Define the interface for get SourceText from array of the source.
dispose()Defines the Dispose interface.
getText()Define the interface for get Text.
getText(int)Define the interface for get Text.
getText(TextSpan)Define the interface for get Text.
toString()Override the ToString() method.
toString(int)Override the ToString() method.
toString(TextSpan)Defines the interface ToString()
toString(int, int)Defines the interface ToString()

See Also