RefactoringContributor クラス

このクラスは、すべてのリファクタリング コントリビュータの派生元となる基本クラスです。

この API は、CLS に準拠していません。 

名前空間 :  Microsoft.VisualStudio.Data.Schema.Project.Refactoring
アセンブリ :  Microsoft.VisualStudio.Data.Schema.Project (Microsoft.VisualStudio.Data.Schema.Project.dll 内)

構文

'宣言
<CLSCompliantAttribute(False)> _
Public MustInherit Class RefactoringContributor _
    Implements IExtension
'使用
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

解説

このクラスは、ContributorInput を受け取り、変更提案を提示し、処理する追加の ContributorInput を作成します。 このクラスでは、変更提案の提示とリファクタリング コントリビュータ マネージャへの変更の通知という作業の大半を行います。

作成するそれぞれの RefactoringContributor について、このクラスの派生クラスを作成します。 次の処理を行うためのコントリビュータを作成できます。

  • スキーマ オブジェクト シンボルに対する変更

  • スキーマ オブジェクトへの参照に対する変更

  • スクリプト内のシンボル参照に対する変更

  • データベース単体テスト内のシンボル参照に対する変更

  • データ生成計画内のシンボル参照に対する変更

継承階層

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

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。 インスタンス メンバの場合は、スレッド セーフであるとは限りません。

参照

参照

RefactoringContributor メンバ

Microsoft.VisualStudio.Data.Schema.Project.Refactoring 名前空間