Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace
The Microsoft.VisualStudio.Data.Schema.Project.Refactoring namespace provides the classes to enable you to create your own refactoring types and contributors.
For more information, see Create Custom Database Refactoring Types or Targets and Scenario: Support New Targets for Database Refactoring.
Classes
Class | Description | |
---|---|---|
ApplyChangesEventArgs | This class provides information to PreApply and PostApply methods so that RefactoringContributors and RefactorOperations can perform actions. | |
ChangeProposal | The ChangeProposal class represents the changes returned from the contributors. | |
ContributorInput | The ContributorInput class represents the data input to each of the contributors. | |
FileChange | The [FileChange] class represents the changes for one file. | |
PreviewWindowInfo | This class contains all preview data for a RefactorOperation. | |
RefactoringCommand | Base command class from which new refactoring commands are created to handle new database refactoring types. | |
RefactoringContributor | This class is the base class from which all refactoring contributors derive. | |
RefactoringContributor<TContributorInput> | Takes a ContributorInput, suggests change proposals, and creates additional ContributorInputs for processing. | |
RefactoringError | Represents an error that occurred during a refactoring operation. | |
RefactoringFileNodeCommand | Base command class for all refactoring commands on file nodes in Solution Explorer. | |
RefactoringOperation | The RefactorOperation manages the whole life cycle of the refactoring operation. | |
RefactoringPreviewGroup | Captures the check box setting, friendly name, and other information for a refactoring preview group. | |
RefactoringProjectNodeCommand | Base command class for all refactoring commands on database project nodes in Solution Explorer. | |
RefactoringSchemaViewNodeCommand | Base command class for all refactoring commands on nodes in Schema View. | |
RefactoringUtils | This is a refactoring helper class. | |
TextChangeProposal | This class represents the changes returned from the contributors. |
Delegates
Delegate | Description | |
---|---|---|
GetProjectItemCallback | While looping through the project, use this callback to see whether this project item is the one being sought. |
Enumerations
Enumeration | Description | |
---|---|---|
PreviewWarningLevel | This enumeration indicates the warning level of the warning messages that will appear in the refactoring preview window. | |
QueryStatusResult | Flags that indicate the status of the result. | |
RefactoringErrorCategory | The RefactoringErrorCategory determines where the error message will be shown, such as in a Preview Changes dialog box or an event log. |
See Also
Reference
Other Resources
Extending the Database Features of Visual Studio Team System