Share via


TextLoader Class

Definition

A class that represents access to a source text and its version from a storage location.

public ref class TextLoader abstract
public abstract class TextLoader
type TextLoader = class
Public MustInherit Class TextLoader
Inheritance
TextLoader
Derived

Constructors

TextLoader()

Methods

From(SourceTextContainer, VersionStamp, String)

Creates a TextLoader from a SourceTextContainer and version.

The text obtained from the loader will be the current text of the container at the time the loader is accessed.

From(TextAndVersion)

Creates a new TextLoader from an already existing source text and version.

LoadTextAndVersionAsync(LoadTextOptions, CancellationToken)

Load a text and a version of the document.

LoadTextAndVersionAsync(Workspace, DocumentId, CancellationToken)
Obsolete.

Load a text and a version of the document.

Applies to