Share via


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
Public class ApplyChangesEventArgs This class provides information to PreApply and PostApply methods so that RefactoringContributors and RefactorOperations can perform actions.
Public class ChangeProposal The ChangeProposal class represents the changes returned from the contributors.
Public class ContributorInput The ContributorInput class represents the data input to each of the contributors.
Public class FileChange The [FileChange] class represents the changes for one file.
Public class PreviewWindowInfo This class contains all preview data for a RefactorOperation.
Public class RefactoringCommand Base command class from which new refactoring commands are created to handle new database refactoring types.
Public class RefactoringContributor This class is the base class from which all refactoring contributors derive.
Public class RefactoringContributor<TContributorInput> Takes a ContributorInput, suggests change proposals, and creates additional ContributorInputs for processing.
Public class RefactoringError Represents an error that occurred during a refactoring operation.
Public class RefactoringFileNodeCommand Base command class for all refactoring commands on file nodes in Solution Explorer.
Public class RefactoringOperation The RefactorOperation manages the whole life cycle of the refactoring operation.
Public class RefactoringPreviewGroup Captures the check box setting, friendly name, and other information for a refactoring preview group.
Public class RefactoringProjectNodeCommand Base command class for all refactoring commands on database project nodes in Solution Explorer.
Public class RefactoringSchemaViewNodeCommand Base command class for all refactoring commands on nodes in Schema View.
Public class RefactoringUtils This is a refactoring helper class.
Public class TextChangeProposal This class represents the changes returned from the contributors.

Delegates

  Delegate Description
Public delegate GetProjectItemCallback While looping through the project, use this callback to see whether this project item is the one being sought.

Enumerations

  Enumeration Description
Public enumeration PreviewWarningLevel This enumeration indicates the warning level of the warning messages that will appear in the refactoring preview window.
Public enumeration QueryStatusResult Flags that indicate the status of the result.
Public enumeration 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