TextLoader.From Метод

Определение

Перегрузки

From(TextAndVersion)

Создает новый объект TextLoader из уже существующего исходного текста и версии.

From(SourceTextContainer, VersionStamp, String)

Создает объект TextLoader на основе 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

Создает объект TextLoader на основе 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

Возвращаемое значение

Применяется к