C# 클래스 ShaderTools.VisualStudio.Hlsl.Util.Extensions.Extensions

파일 보기 프로젝트 열기: tgjones/HlslTools

공개 메소드들

메소드 설명
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