C# 클래스 FSharp.ProjectExtender.ProjectManager

상속: Microsoft.VisualStudio.Shell.Flavor.FlavoredProjectBase, IProjectManager, IOleCommandTarget, IVsTrackProjectDocumentsEvents2
파일 보기 프로젝트 열기: Hill30/F--Project-Extender 1 사용 예제들

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