C# Класс ShaderTools.VisualStudio.Hlsl.Util.Extensions.Extensions

Показать файл Открыть проект

Открытые методы

Метод Описание
GetBackgroundParser ( this textBuffer ) : BackgroundParser
GetDesiredIndentation ( this textView, ISmartIndentationService smartIndentService, ITextSnapshotLine line ) : int?
GetIncludeFileSystem ( this textBuffer, VisualStudioSourceTextFactory sourceTextFactory ) : IIncludeFileSystem
GetPosition ( this syntaxEditor, ITextSnapshot snapshot ) : int
GetSyntaxTagger ( this textBuffer ) : SyntaxTagger
GetSyntaxTree ( this snapshot, CancellationToken cancellationToken ) : SyntaxTree
GetTextContainer ( this textBuffer ) : VisualStudioSourceTextContainer
TryGetSemanticModel ( this snapshot, CancellationToken cancellationToken, SemanticModel &semanticModel ) : bool

Описание методов

GetBackgroundParser() публичный статический Метод

public static GetBackgroundParser ( this textBuffer ) : BackgroundParser
textBuffer this
Результат ShaderTools.VisualStudio.Hlsl.Parsing.BackgroundParser

GetDesiredIndentation() публичный статический Метод

public static GetDesiredIndentation ( this textView, ISmartIndentationService smartIndentService, ITextSnapshotLine line ) : int?
textView this
smartIndentService ISmartIndentationService
line ITextSnapshotLine
Результат int?

GetIncludeFileSystem() публичный статический Метод

public static GetIncludeFileSystem ( this textBuffer, VisualStudioSourceTextFactory sourceTextFactory ) : IIncludeFileSystem
textBuffer this
sourceTextFactory ShaderTools.VisualStudio.Hlsl.Text.VisualStudioSourceTextFactory
Результат IIncludeFileSystem

GetPosition() публичный статический Метод

public static GetPosition ( this syntaxEditor, ITextSnapshot snapshot ) : int
syntaxEditor this
snapshot ITextSnapshot
Результат int

GetSyntaxTagger() публичный статический Метод

public static GetSyntaxTagger ( this textBuffer ) : SyntaxTagger
textBuffer this
Результат SyntaxTagger

GetSyntaxTree() публичный статический Метод

public static GetSyntaxTree ( this snapshot, CancellationToken cancellationToken ) : SyntaxTree
snapshot this
cancellationToken System.Threading.CancellationToken
Результат ShaderTools.Hlsl.Syntax.SyntaxTree

GetTextContainer() публичный статический Метод

public static GetTextContainer ( this textBuffer ) : VisualStudioSourceTextContainer
textBuffer this
Результат ShaderTools.VisualStudio.Hlsl.Text.VisualStudioSourceTextContainer

TryGetSemanticModel() публичный статический Метод

public static TryGetSemanticModel ( this snapshot, CancellationToken cancellationToken, SemanticModel &semanticModel ) : bool
snapshot this
cancellationToken System.Threading.CancellationToken
semanticModel ShaderTools.Hlsl.Compilation.SemanticModel
Результат bool