启用一个方案,在该方案中另一个参与者可能必须在分析启动之前执行一些准备工作(例如,保存已更新文件)。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Refactoring
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Protected Overridable Sub OnBeforeAnalysis ( _
input As ContributorInput _
)
protected virtual void OnBeforeAnalysis(
ContributorInput input
)
protected:
virtual void OnBeforeAnalysis(
ContributorInput^ input
)
abstract OnBeforeAnalysis :
input:ContributorInput -> unit
override OnBeforeAnalysis :
input:ContributorInput -> unit
protected function OnBeforeAnalysis(
input : ContributorInput
)
参数
备注
仅当重构操作开始时调用此方法。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。