Share via


RefactoringContributor Class

This class is the base class from which all refactoring contributors derive.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public MustInherit Class RefactoringContributor _
    Implements IExtension
'Usage
Dim instance As RefactoringContributor
[CLSCompliantAttribute(false)]
public abstract class RefactoringContributor : IExtension
[CLSCompliantAttribute(false)]
public ref class RefactoringContributor abstract : IExtension
public abstract class RefactoringContributor implements IExtension

Remarks

This class takes a ContributorInput, suggests change proposals, and then creates additional ContributorInputs for processing. This class does the bulk of the work of proposing and notifying the refactoring contributor manager of changes.

You create a derivation of this class for each RefactoringContributor that you create. You might create contributors to handle:

  • Changes to schema object symbols

  • Changes to references to schema objects

  • Changes to symbol references in scripts

  • Changes to symbol references in database unit tests

  • Changes to symbol references in data generation plans

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Schema.Project.Refactoring.RefactoringContributor
    Microsoft.VisualStudio.Data.Schema.Project.Refactoring.RefactoringContributor<TContributorInput>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RefactoringContributor Members

Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace