C# 클래스 Microsoft.VisualStudio.LanguageServices.Implementation.VisualStudioDocumentTrackingService

상속: IDocumentTrackingService, IVsSelectionEvents, IDisposable
파일 보기 프로젝트 열기: lodejard/AllNetCore 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
DocumentFrameShowing ( IVsWindowFrame frame, DocumentId id, bool firstShow ) : void

Called via the DocumentProvider's RDT OnBeforeDocumentWindowShow notification when a workspace document is being shown.

GetActiveDocument ( ) : DocumentId

Get the DocumentId of the active document. May be called from any thread. May return null if there is no active document or the active document is not part of this workspace.

GetVisibleDocuments ( ) : ImmutableArray

Get a read only collection of the DocumentIds of all the visible documents in the workspace.

OnCmdUIContextChanged ( uint dwCmdUICookie, int fActive ) : int
OnElementValueChanged ( uint elementid, object varValueOld, object varValueNew ) : int
OnNonRoslynViewOpened ( ITextView view ) : void
OnSelectionChanged ( IVsHierarchy pHierOld, uint itemidOld, IVsMultiItemSelect pMISOld, ISelectionContainer pSCOld, IVsHierarchy pHierNew, uint itemidNew, IVsMultiItemSelect pMISNew, ISelectionContainer pSCNew ) : int
VisualStudioDocumentTrackingService ( IServiceProvider serviceProvider ) : System

비공개 메소드들

메소드 설명
GetDebuggerDisplay ( ) : string
RemoveFrame ( FrameListener frame ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DocumentFrameShowing() 공개 메소드

Called via the DocumentProvider's RDT OnBeforeDocumentWindowShow notification when a workspace document is being shown.
public DocumentFrameShowing ( IVsWindowFrame frame, DocumentId id, bool firstShow ) : void
frame IVsWindowFrame The frame containing the document being shown.
id DocumentId The of the document being shown.
firstShow bool Indicates whether this is a first or subsequent show.
리턴 void

GetActiveDocument() 공개 메소드

Get the DocumentId of the active document. May be called from any thread. May return null if there is no active document or the active document is not part of this workspace.
public GetActiveDocument ( ) : DocumentId
리턴 DocumentId

GetVisibleDocuments() 공개 메소드

Get a read only collection of the DocumentIds of all the visible documents in the workspace.
public GetVisibleDocuments ( ) : ImmutableArray
리턴 ImmutableArray

OnCmdUIContextChanged() 공개 메소드

public OnCmdUIContextChanged ( uint dwCmdUICookie, int fActive ) : int
dwCmdUICookie uint
fActive int
리턴 int

OnElementValueChanged() 공개 메소드

public OnElementValueChanged ( uint elementid, object varValueOld, object varValueNew ) : int
elementid uint
varValueOld object
varValueNew object
리턴 int

OnNonRoslynViewOpened() 공개 메소드

public OnNonRoslynViewOpened ( ITextView view ) : void
view ITextView
리턴 void

OnSelectionChanged() 공개 메소드

public OnSelectionChanged ( IVsHierarchy pHierOld, uint itemidOld, IVsMultiItemSelect pMISOld, ISelectionContainer pSCOld, IVsHierarchy pHierNew, uint itemidNew, IVsMultiItemSelect pMISNew, ISelectionContainer pSCNew ) : int
pHierOld IVsHierarchy
itemidOld uint
pMISOld IVsMultiItemSelect
pSCOld ISelectionContainer
pHierNew IVsHierarchy
itemidNew uint
pMISNew IVsMultiItemSelect
pSCNew ISelectionContainer
리턴 int

VisualStudioDocumentTrackingService() 공개 메소드

public VisualStudioDocumentTrackingService ( IServiceProvider serviceProvider ) : System
serviceProvider IServiceProvider
리턴 System