C# Класс FSharp.ProjectExtender.ProjectManager

Наследование: Microsoft.VisualStudio.Shell.Flavor.FlavoredProjectBase, IProjectManager, IOleCommandTarget, IVsTrackProjectDocumentsEvents2
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetNodeChild uint
GetNodeSibling uint
IOleCommandTarget int
IOleCommandTarget int
InvalidateParentItems void
InvalidateParentItems void

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

Метод Описание
FixupProject ( ) : void
FlipShowAll ( ) : void

In response to click on the Show All Files button changes the state of the button

OnAfterAddDirectoriesEx ( int cProjects, int cDirectories, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSADDDIRECTORYFLAGS rgFlags ) : int
OnAfterAddFilesEx ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSADDFILEFLAGS rgFlags ) : int
OnAfterRemoveDirectories ( int cProjects, int cDirectories, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSREMOVEDIRECTORYFLAGS rgFlags ) : int
OnAfterRemoveFiles ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSREMOVEFILEFLAGS rgFlags ) : int
OnAfterRenameDirectories ( int cProjects, int cDirs, IVsProject rgpProjects, int rgFirstIndices, string rgszMkOldNames, string rgszMkNewNames, VSRENAMEDIRECTORYFLAGS rgFlags ) : int
OnAfterRenameFiles ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgszMkOldNames, string rgszMkNewNames, VSRENAMEFILEFLAGS rgFlags ) : int
OnAfterSccStatusChanged ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, uint rgdwSccStatus ) : int
OnQueryAddDirectories ( IVsProject pProject, int cDirectories, string rgpszMkDocuments, VSQUERYADDDIRECTORYFLAGS rgFlags, VSQUERYADDDIRECTORYRESULTS pSummaryResult, VSQUERYADDDIRECTORYRESULTS rgResults ) : int
OnQueryAddFiles ( IVsProject pProject, int cFiles, string rgpszMkDocuments, VSQUERYADDFILEFLAGS rgFlags, VSQUERYADDFILERESULTS pSummaryResult, VSQUERYADDFILERESULTS rgResults ) : int
OnQueryRemoveDirectories ( IVsProject pProject, int cDirectories, string rgpszMkDocuments, VSQUERYREMOVEDIRECTORYFLAGS rgFlags, VSQUERYREMOVEDIRECTORYRESULTS pSummaryResult, VSQUERYREMOVEDIRECTORYRESULTS rgResults ) : int
OnQueryRemoveFiles ( IVsProject pProject, int cFiles, string rgpszMkDocuments, VSQUERYREMOVEFILEFLAGS rgFlags, VSQUERYREMOVEFILERESULTS pSummaryResult, VSQUERYREMOVEFILERESULTS rgResults ) : int
OnQueryRenameDirectories ( IVsProject pProject, int cDirs, string rgszMkOldNames, string rgszMkNewNames, VSQUERYRENAMEDIRECTORYFLAGS rgFlags, VSQUERYRENAMEDIRECTORYRESULTS pSummaryResult, VSQUERYRENAMEDIRECTORYRESULTS rgResults ) : int
OnQueryRenameFiles ( IVsProject pProject, int cFiles, string rgszMkOldNames, string rgszMkNewNames, VSQUERYRENAMEFILEFLAGS rgFlags, VSQUERYRENAMEFILERESULTS pSummaryResult, VSQUERYRENAMEFILERESULTS rgResults ) : int
ProjectManager ( ) : System
Refresh ( ) : void

Refershes the solution explorer to reflect the up-to-date excluded files

RefreshSolutionExplorer ( IEnumerable nodes ) : void

Refreshes the solution explorer tree

Refreshing the tree cancels the selection the nodes list is used to restore the selection. The items on the list could have been changed/ recreated as a side effect of the operation, so the list of the nodes is re-mapped

SetSite ( Microsoft site ) : int

Sets the service provider from which to access the services.

ToCanonical ( string include ) : string

Защищенные методы

Метод Описание
Close ( ) : void
ExecCommand ( uint itemId, System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int

Modify the command execution process for the commands routed to the IVsUIHierarchy

GetProperty ( uint itemId, int propId, object &property ) : int

Modify how properties are calculated

OnAggregationComplete ( ) : void

Completes the project manager initialization process

SetInnerProject ( IntPtr innerIUnknown ) : void

Приватные методы

Метод Описание
GetNodeChild ( uint itemId ) : uint

Returns the first child for the node as provided by base F# project manager

GetNodeSibling ( uint itemId ) : uint

Returns the next sibling for the node as provided by base F# project manager

IOleCommandTarget ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int
IOleCommandTarget ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
InvalidateParentItems ( IEnumerable itemIds ) : void
InvalidateParentItems ( string oldFileNames, string newFileNames ) : void

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

Close() защищенный Метод

protected Close ( ) : void
Результат void

ExecCommand() защищенный Метод

Modify the command execution process for the commands routed to the IVsUIHierarchy
protected ExecCommand ( uint itemId, System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
itemId uint
pguidCmdGroup System.Guid
nCmdID uint
nCmdexecopt uint
pvaIn System.IntPtr
pvaOut System.IntPtr
Результат int

FixupProject() публичный Метод

public FixupProject ( ) : void
Результат void

FlipShowAll() публичный Метод

In response to click on the Show All Files button changes the state of the button
public FlipShowAll ( ) : void
Результат void

GetProperty() защищенный Метод

Modify how properties are calculated
protected GetProperty ( uint itemId, int propId, object &property ) : int
itemId uint
propId int
property object
Результат int

OnAfterAddDirectoriesEx() публичный Метод

public OnAfterAddDirectoriesEx ( int cProjects, int cDirectories, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSADDDIRECTORYFLAGS rgFlags ) : int
cProjects int
cDirectories int
rgpProjects IVsProject
rgFirstIndices int
rgpszMkDocuments string
rgFlags VSADDDIRECTORYFLAGS
Результат int

OnAfterAddFilesEx() публичный Метод

public OnAfterAddFilesEx ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSADDFILEFLAGS rgFlags ) : int
cProjects int
cFiles int
rgpProjects IVsProject
rgFirstIndices int
rgpszMkDocuments string
rgFlags VSADDFILEFLAGS
Результат int

OnAfterRemoveDirectories() публичный Метод

public OnAfterRemoveDirectories ( int cProjects, int cDirectories, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSREMOVEDIRECTORYFLAGS rgFlags ) : int
cProjects int
cDirectories int
rgpProjects IVsProject
rgFirstIndices int
rgpszMkDocuments string
rgFlags VSREMOVEDIRECTORYFLAGS
Результат int

OnAfterRemoveFiles() публичный Метод

public OnAfterRemoveFiles ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSREMOVEFILEFLAGS rgFlags ) : int
cProjects int
cFiles int
rgpProjects IVsProject
rgFirstIndices int
rgpszMkDocuments string
rgFlags VSREMOVEFILEFLAGS
Результат int

OnAfterRenameDirectories() публичный Метод

public OnAfterRenameDirectories ( int cProjects, int cDirs, IVsProject rgpProjects, int rgFirstIndices, string rgszMkOldNames, string rgszMkNewNames, VSRENAMEDIRECTORYFLAGS rgFlags ) : int
cProjects int
cDirs int
rgpProjects IVsProject
rgFirstIndices int
rgszMkOldNames string
rgszMkNewNames string
rgFlags VSRENAMEDIRECTORYFLAGS
Результат int

OnAfterRenameFiles() публичный Метод

public OnAfterRenameFiles ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgszMkOldNames, string rgszMkNewNames, VSRENAMEFILEFLAGS rgFlags ) : int
cProjects int
cFiles int
rgpProjects IVsProject
rgFirstIndices int
rgszMkOldNames string
rgszMkNewNames string
rgFlags VSRENAMEFILEFLAGS
Результат int

OnAfterSccStatusChanged() публичный Метод

public OnAfterSccStatusChanged ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, uint rgdwSccStatus ) : int
cProjects int
cFiles int
rgpProjects IVsProject
rgFirstIndices int
rgpszMkDocuments string
rgdwSccStatus uint
Результат int

OnAggregationComplete() защищенный Метод

Completes the project manager initialization process
protected OnAggregationComplete ( ) : void
Результат void

OnQueryAddDirectories() публичный Метод

public OnQueryAddDirectories ( IVsProject pProject, int cDirectories, string rgpszMkDocuments, VSQUERYADDDIRECTORYFLAGS rgFlags, VSQUERYADDDIRECTORYRESULTS pSummaryResult, VSQUERYADDDIRECTORYRESULTS rgResults ) : int
pProject IVsProject
cDirectories int
rgpszMkDocuments string
rgFlags VSQUERYADDDIRECTORYFLAGS
pSummaryResult VSQUERYADDDIRECTORYRESULTS
rgResults VSQUERYADDDIRECTORYRESULTS
Результат int

OnQueryAddFiles() публичный Метод

public OnQueryAddFiles ( IVsProject pProject, int cFiles, string rgpszMkDocuments, VSQUERYADDFILEFLAGS rgFlags, VSQUERYADDFILERESULTS pSummaryResult, VSQUERYADDFILERESULTS rgResults ) : int
pProject IVsProject
cFiles int
rgpszMkDocuments string
rgFlags VSQUERYADDFILEFLAGS
pSummaryResult VSQUERYADDFILERESULTS
rgResults VSQUERYADDFILERESULTS
Результат int

OnQueryRemoveDirectories() публичный Метод

public OnQueryRemoveDirectories ( IVsProject pProject, int cDirectories, string rgpszMkDocuments, VSQUERYREMOVEDIRECTORYFLAGS rgFlags, VSQUERYREMOVEDIRECTORYRESULTS pSummaryResult, VSQUERYREMOVEDIRECTORYRESULTS rgResults ) : int
pProject IVsProject
cDirectories int
rgpszMkDocuments string
rgFlags VSQUERYREMOVEDIRECTORYFLAGS
pSummaryResult VSQUERYREMOVEDIRECTORYRESULTS
rgResults VSQUERYREMOVEDIRECTORYRESULTS
Результат int

OnQueryRemoveFiles() публичный Метод

public OnQueryRemoveFiles ( IVsProject pProject, int cFiles, string rgpszMkDocuments, VSQUERYREMOVEFILEFLAGS rgFlags, VSQUERYREMOVEFILERESULTS pSummaryResult, VSQUERYREMOVEFILERESULTS rgResults ) : int
pProject IVsProject
cFiles int
rgpszMkDocuments string
rgFlags VSQUERYREMOVEFILEFLAGS
pSummaryResult VSQUERYREMOVEFILERESULTS
rgResults VSQUERYREMOVEFILERESULTS
Результат int

OnQueryRenameDirectories() публичный Метод

public OnQueryRenameDirectories ( IVsProject pProject, int cDirs, string rgszMkOldNames, string rgszMkNewNames, VSQUERYRENAMEDIRECTORYFLAGS rgFlags, VSQUERYRENAMEDIRECTORYRESULTS pSummaryResult, VSQUERYRENAMEDIRECTORYRESULTS rgResults ) : int
pProject IVsProject
cDirs int
rgszMkOldNames string
rgszMkNewNames string
rgFlags VSQUERYRENAMEDIRECTORYFLAGS
pSummaryResult VSQUERYRENAMEDIRECTORYRESULTS
rgResults VSQUERYRENAMEDIRECTORYRESULTS
Результат int

OnQueryRenameFiles() публичный Метод

public OnQueryRenameFiles ( IVsProject pProject, int cFiles, string rgszMkOldNames, string rgszMkNewNames, VSQUERYRENAMEFILEFLAGS rgFlags, VSQUERYRENAMEFILERESULTS pSummaryResult, VSQUERYRENAMEFILERESULTS rgResults ) : int
pProject IVsProject
cFiles int
rgszMkOldNames string
rgszMkNewNames string
rgFlags VSQUERYRENAMEFILEFLAGS
pSummaryResult VSQUERYRENAMEFILERESULTS
rgResults VSQUERYRENAMEFILERESULTS
Результат int

ProjectManager() публичный Метод

public ProjectManager ( ) : System
Результат System

Refresh() публичный Метод

Refershes the solution explorer to reflect the up-to-date excluded files
public Refresh ( ) : void
Результат void

RefreshSolutionExplorer() публичный Метод

Refreshes the solution explorer tree
Refreshing the tree cancels the selection the nodes list is used to restore the selection. The items on the list could have been changed/ recreated as a side effect of the operation, so the list of the nodes is re-mapped
public RefreshSolutionExplorer ( IEnumerable nodes ) : void
nodes IEnumerable A list of nodes which were originally selected
Результат void

SetInnerProject() защищенный Метод

protected SetInnerProject ( IntPtr innerIUnknown ) : void
innerIUnknown System.IntPtr
Результат void

SetSite() публичный Метод

Sets the service provider from which to access the services.
public SetSite ( Microsoft site ) : int
site Microsoft An instance to an Microsoft.VisualStudio.OLE.Interop object
Результат int

ToCanonical() публичный Метод

public ToCanonical ( string include ) : string
include string
Результат string