Click or drag to resize

TextLoader Class



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

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract class TextLoader

The TextLoader type exposes the following members.

Constructors
  NameDescription
Protected methodTextLoader
Initializes a new instance of the TextLoader class
Top
Methods
  NameDescription
Public methodStatic memberFrom(TextAndVersion)
Creates a new TextLoader from an already existing source text and version.
Public methodStatic memberFrom(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.
Public methodLoadTextAndVersionAsync
Top
See Also