C# Class Microsoft.VisualStudio.Project.ProjectDocumentsListener

Inheritance: IVsTrackProjectDocumentsEvents2, IDisposable
显示文件 Open project: tunnelvisionlabs/MPFProj10

Public Methods

Method Description
Dispose ( ) : void

The IDispose interface Dispose method for disposing the object deterministically.

Init ( ) : void
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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

The method that does the cleanup.

ProjectDocumentsListener ( Microsoft.VisualStudio.Shell.ServiceProvider serviceProviderParameter ) : System

Method Details

Dispose() public method

The IDispose interface Dispose method for disposing the object deterministically.
public Dispose ( ) : void
return void

Dispose() protected method

The method that does the cleanup.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Init() public method

public Init ( ) : void
return void

OnAfterAddDirectoriesEx() public method

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
return int

OnAfterAddFilesEx() public method

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
return int

OnAfterRemoveDirectories() public method

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
return int

OnAfterRemoveFiles() public method

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
return int

OnAfterRenameDirectories() public method

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
return int

OnAfterRenameFiles() public method

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
return int

OnAfterSccStatusChanged() public method

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
return int

OnQueryAddDirectories() public method

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
return int

OnQueryAddFiles() public method

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
return int

OnQueryRemoveDirectories() public method

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
return int

OnQueryRemoveFiles() public method

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
return int

OnQueryRenameDirectories() public method

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
return int

OnQueryRenameFiles() public method

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
return int

ProjectDocumentsListener() protected method

protected ProjectDocumentsListener ( Microsoft.VisualStudio.Shell.ServiceProvider serviceProviderParameter ) : System
serviceProviderParameter Microsoft.VisualStudio.Shell.ServiceProvider
return System