RefactoringOperation.OnGetContributorInput 方法
收集来自用户的任何必需输入,并返回随后由所有兼容参与者处理的相应 ContributorInput 类。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Refactoring
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Protected MustOverride Function OnGetContributorInput As ContributorInput
protected abstract ContributorInput OnGetContributorInput()
protected:
virtual ContributorInput^ OnGetContributorInput() abstract
abstract OnGetContributorInput : unit -> ContributorInput
protected abstract function OnGetContributorInput() : ContributorInput
返回值
类型:Microsoft.VisualStudio.Data.Schema.Package.Refactoring.ContributorInput
备注
引发收集其他输入所需的任何用户界面;例如,用于“重命名重构”的“重命名”对话框。 仅为每个操作创建一个初始 ContributorInput。 支持处理此 ContributorInput 的不同参与者必须注册重构管理器。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。