RefactoringOperation Members
Include Protected Members
Include Inherited Members
The RefactorOperation manages the whole life cycle of the refactoring operation.
The RefactoringOperation type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the RefactoringOperation class.
Top
Methods
Name
Description
Adds a refactoring error to the operation.
The CancelRefactorOperation method exists to allow derived RefactorOperations to cancel the operation based on user input.
This method starts the whole refactoring process.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
This method is responsible for gathering any necessary input from the user and returning the appropriate ContributorInput class, which is then processed by all of the compatible refactoring contributors.
Returns a string that represents the current object. (Inherited from Object.)
This method can be overridden in derived classes to write operation data to the refactoring log file.
Top
Fields
Name
Description
An EventHandler used after refactoring changes have been applied.
An EventHandler used while refactoring changes are being applied.
Top
Properties
Name
Description
Gets the initial ContributorInput for this refactoring operation.
Gets the database project on which the refactoring operation is performed.
Gets or sets a value indicating whether a refactoring log file should be generated after changes are applied.
Gets or sets a value indicating whether the standard Preview window is displayed.
Gets the name of this refactoring operation.
Gets Preview window information, including window title, description, confirm button text, and warning text.
Gets the description that is displayed on the undo stack for this operation.
Top
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace