Метод | Описание | |
---|---|---|
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 |
public DocumentFrameShowing ( IVsWindowFrame frame, DocumentId id, bool firstShow ) : void | ||
frame | IVsWindowFrame | The frame containing the document being shown. |
id | DocumentId | The |
firstShow | bool | Indicates whether this is a first or subsequent show. |
Результат | void |
public GetVisibleDocuments ( ) : ImmutableArray |
||
Результат | ImmutableArray |
public OnCmdUIContextChanged ( uint dwCmdUICookie, int fActive ) : int | ||
dwCmdUICookie | uint | |
fActive | int | |
Результат | int |
public OnElementValueChanged ( uint elementid, object varValueOld, object varValueNew ) : int | ||
elementid | uint | |
varValueOld | object | |
varValueNew | object | |
Результат | int |
public OnNonRoslynViewOpened ( ITextView view ) : void | ||
view | ITextView | |
Результат | void |
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 |
public VisualStudioDocumentTrackingService ( IServiceProvider serviceProvider ) : System | ||
serviceProvider | IServiceProvider | |
Результат | System |