Click or drag to resize

TextLoaderFrom Method (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.

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 static TextLoader From(
	SourceTextContainer container,
	VersionStamp version,
	string filePath = null
)

Parameters

container
Type: Microsoft.CodeAnalysis.TextSourceTextContainer
version
Type: Microsoft.CodeAnalysisVersionStamp
filePath (Optional)
Type: SystemString

Return Value

Type: TextLoader
See Also