OperationBase Class
This is the abstract base class of all operation classes.
Constructors
Constructor
Description
Parameter-less constructor.
Methods
Method
AddNodeToResultsTree (Variation 1)
Method to add a result line associated with a node of the kind 'solution' to the result window of the operation
AddNodeToResultsTree (Variation 2)
Method to add a result line associated with a node of the kind 'project' to the result window of the operation.
AddNodeToResultsTree (Variation 3)
Method to add a result line associated with a node of the kind 'project item' to the results window of the operation.
AddNodeToResultsTree (Variation 4)
Method to add a result line associated with a node of the kind 'component' item to the result window of the operation.
AddNodeToResultsTree (Variation 5)
Method to add a result line associated with a node of the kind 'code element' to the result window of the operation.
AddNodeToResultsTree (Variation 6)
Method to add a result line associated with a node of the kind 'found text' to the result window of the operation.
OnAfterExecuteOperation
Method called after completing the operation.
OnAfterExecuteOperationInProject
Method called after processing a project.
OnAfterExecuteOperationInSolution
Method called after processing the solution.
OnAfterLocateCodeElementResult
Method called when the user has located in the source code a result of the kind 'code element' from the result window.
OnAfterLocateComponentResult
Method called when the user has located in the source code a result of the kind 'component' from the result window.
OnAfterLocateFoundTextResult
Method called when the user has located in the source code a result of the kind 'found text' from the result window.
OnAfterLocateProjectItemResult
Method called when the user has located a result of the kind 'project item' from the result window.
OnAfterLocateProjectResult
Method called when the user has located a result of the kind 'project' from the result window.
OnAfterLocateSolutionResult
Method called when the user has located a result of the kind 'solution' from the result window.
OnBeforeExecuteOperation
Method called before starting the operation.
OnBeforeExecuteOperationInProject
Method called before processing a project.
OnBeforeExecuteOperationInSolution
Method called before processing the solution.
OnCancelOperation
Method called if the operation has been cancelled.
OnCreateAdminOptions
Method called to create the admin options of the operation, if any.
OnCreateUserOptionsForExecution
Method called to create the user options of the operation before a execution, if any.
OnCreateUserOptionsForExecutionBeforeBuild
Method called to create the user options of the operation before a build, if any.
OnExecuteOperationInFolderProjectItem
Method called to perform the operation in a project item of the kind 'folder' of a project.
OnExecuteOperationInSolutionFolder
Method called to perform the operation in a solution folder.
OnExecuteOperationInProjectItem
Method called to perform the operation in a project item (file) of a project.
OnExecuteOperationInTextRange
Method called to perform the operation in a text range of a document.
OnInitialize
Method called to initialize the operation.
RemoveSelectedNodeFromResultsTree
Method to remove the selected node from the results tree.
Properties
Property
DTE
Property that returns the EnvDTE.DTE object of the extensibility model for add-ins that represents the IDE where the operation is being executed.
IDE
Property that returns the kind of IDE (Visual Studio or Macros IDE).
IDEVersion
Property that returns the version of the IDE.
UILanguage
Property that returns the language of the user interface of MZ-Tools.