다음을 통해 공유


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
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
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

반환

적용 대상