C# 클래스 IntelliFind.RoslynVisxHelpers

파일 보기 프로젝트 열기: FrankBakkerNl/IntelliFind 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetAbsolutePosition int
GetCodeAnalysisDocumentFromDteDocument Microsoft.CodeAnalysis.Document

공개 메소드들

메소드 설명
GetCodeAnalysisDocument ( ) : Microsoft.CodeAnalysis.Document
GetSelectedToken ( ) : SyntaxToken?

Finds the SyntaxToken that is currently selected in the Active Document.

GetWorkspace ( ) : Microsoft.CodeAnalysis.Workspace
SelectSpanInCodeWindow ( FileLinePositionSpan span ) : void

비공개 메소드들

메소드 설명
GetAbsolutePosition ( Microsoft.CodeAnalysis.SyntaxTree syntaxTree, int line, int lineCharOffset ) : int

Gets the absolute position in the synatxtree from the line and character offset

GetCodeAnalysisDocumentFromDteDocument ( EnvDTE activeDocument, Microsoft.CodeAnalysis.Workspace workspace ) : Microsoft.CodeAnalysis.Document

메소드 상세

GetCodeAnalysisDocument() 공개 정적인 메소드

public static GetCodeAnalysisDocument ( ) : Microsoft.CodeAnalysis.Document
리턴 Microsoft.CodeAnalysis.Document

GetSelectedToken() 공개 정적인 메소드

Finds the SyntaxToken that is currently selected in the Active Document.
public static GetSelectedToken ( ) : SyntaxToken?
리턴 SyntaxToken?

GetWorkspace() 공개 정적인 메소드

public static GetWorkspace ( ) : Microsoft.CodeAnalysis.Workspace
리턴 Microsoft.CodeAnalysis.Workspace

SelectSpanInCodeWindow() 공개 정적인 메소드

public static SelectSpanInCodeWindow ( FileLinePositionSpan span ) : void
span FileLinePositionSpan
리턴 void