TextLoader.From メソッド

定義

オーバーロード

From(TextAndVersion)

既存のソース テキストとバージョンから新規 TextLoader に作成します。

From(SourceTextContainer, VersionStamp, String)

from a TextLoader と version を SourceTextContainer 作成します。

ローダーから取得したテキストは、ローダーにアクセスした時点のコンテナーの現在のテキストになります。

From(TextAndVersion)

Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs

既存のソース テキストとバージョンから新規 TextLoader に作成します。

public:
 static Microsoft::CodeAnalysis::TextLoader ^ From(Microsoft::CodeAnalysis::TextAndVersion ^ textAndVersion);
public static Microsoft.CodeAnalysis.TextLoader From (Microsoft.CodeAnalysis.TextAndVersion textAndVersion);
static member From : Microsoft.CodeAnalysis.TextAndVersion -> Microsoft.CodeAnalysis.TextLoader
Public Shared Function From (textAndVersion As TextAndVersion) As TextLoader

パラメーター

textAndVersion
TextAndVersion

戻り値

適用対象

From(SourceTextContainer, VersionStamp, String)

Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs
Source:
TextLoader.cs

from a TextLoader と version を SourceTextContainer 作成します。

ローダーから取得したテキストは、ローダーにアクセスした時点のコンテナーの現在のテキストになります。

public static Microsoft.CodeAnalysis.TextLoader From (Microsoft.CodeAnalysis.Text.SourceTextContainer container, Microsoft.CodeAnalysis.VersionStamp version, string filePath = default);
public static Microsoft.CodeAnalysis.TextLoader From (Microsoft.CodeAnalysis.Text.SourceTextContainer container, Microsoft.CodeAnalysis.VersionStamp version, string? filePath = default);
static member From : Microsoft.CodeAnalysis.Text.SourceTextContainer * Microsoft.CodeAnalysis.VersionStamp * string -> Microsoft.CodeAnalysis.TextLoader
Public Shared Function From (container As SourceTextContainer, version As VersionStamp, Optional filePath As String = Nothing) As TextLoader

パラメーター

version
VersionStamp
filePath
String

戻り値

適用対象