RefactoringContributor<TContributorInput>.OnBeforeAnalysis メソッド
分析の開始前に、別のコントリビュータによってダーティ ファイルの保存などの準備作業を実行しなければならない場合があります。
名前空間 : Microsoft.VisualStudio.Data.Schema.Project.Refactoring
アセンブリ : Microsoft.VisualStudio.Data.Schema.Project (Microsoft.VisualStudio.Data.Schema.Project.dll 内)
構文
'宣言
Protected Overridable Sub OnBeforeAnalysis ( _
input As ContributorInput _
)
'使用
Dim input As ContributorInput
Me.OnBeforeAnalysis(input)
protected virtual void OnBeforeAnalysis(
ContributorInput input
)
protected:
virtual void OnBeforeAnalysis(
ContributorInput^ input
)
protected function OnBeforeAnalysis(
input : ContributorInput
)
パラメータ
- input
型 : Microsoft.VisualStudio.Data.Schema.Project.Refactoring.ContributorInput
操作の初期入力になる入力。 このコントリビュータが寄与する別の型である場合もあります。
解説
このメソッドが呼び出されるのは、リファクタリング操作の開始時のみです。
参照
参照
RefactoringContributor<TContributorInput> クラス