RefactoringOperation.DoOperation Method

The DoOperation method starts the entire refactoring process.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Refactoring
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Sub DoOperation
public void DoOperation()
public:
void DoOperation()
member DoOperation : unit -> unit 
public function DoOperation()

Remarks

The launch point for the refactoring operation must call this method. The overall flow is as follows:

  1. The user interface provides input into an instance of a derivation of this class through the constructor.

  2. The class might display its own interface, for example, to provide a cancel option.

  3. The operation creates a ContributorInput object.

  4. The operation provides that ContributorInput object to the manager (the base class).

  5. Lists of change proposals are returned.

  6. The change proposals are merged.

  7. Optionally, the Preview dialog box is displayed.

  8. Changes are applied (or they can fail or be canceled).

.NET Framework Security

See Also

Reference

RefactoringOperation Class

Microsoft.VisualStudio.Data.Schema.Package.Refactoring Namespace