RefactoringContributor<TContributorInput>.OnBeforeAnalysis Method
Before analysis starts, a different contributor might need to do some preparation work, such as saving dirty files.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Refactoring
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Protected Overridable Sub OnBeforeAnalysis ( _
input As ContributorInput _
)
'Usage
Dim input As ContributorInput
Me.OnBeforeAnalysis(input)
protected virtual void OnBeforeAnalysis(
ContributorInput input
)
protected:
virtual void OnBeforeAnalysis(
ContributorInput^ input
)
protected function OnBeforeAnalysis(
input : ContributorInput
)
Parameters
input
Type: Microsoft.VisualStudio.Data.Schema.Project.Refactoring.ContributorInputThe input will be the initial input for the operation. It might also be the different type to which this contributor contributes.
Remarks
This method will only be called when a refactoring operation starts.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RefactoringContributor<TContributorInput> Class
RefactoringContributor<TContributorInput> Members
Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace