Dela via


RefactoringContributor<TContributorInput> Members

Include Protected Members
Include Inherited Members

Takes a ContributorInput, suggests change proposals, and creates additional ContributorInputs for processing.

The RefactoringContributor<TContributorInput> type exposes the following members.

Constructors

 

Name

Description

Protected method

RefactoringContributor<TContributorInput>

Initializes a new instance of the RefactoringContributor<TContributorInput> class.

Top

Methods

 

Name

Description

Protected method

ContributeChanges

This method takes in a ContributorInput of the appropriate type and returns the contributor's change proposal and the additional ContributorInputs that are now relevant.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnBeforeAnalysis

Before analysis starts, a different contributor might need to do some preparation work, such as saving dirty files.

Protected method

OnPostApplyChanges

This method allows the contributor to take action after the selected change proposals are applied.

Protected method

OnPreApplyChanges

This method allows the contributor to take action before the selected change proposals are applied.

Protected method

RegisterGeneratedInputType

Registers any possible propagating input type that this contributor will generate during analysis. (Inherited from RefactoringContributor.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Protected method

WriteContributorInputLogData

Derived classes can override this method to write log data of the generated propagating input that is generated by this refactoring contributor. (Inherited from RefactoringContributor.)

Protected method

WriteOperationReferenceLogData

Derived classes can override this method to write any reference log information that is generated by this contributor. (Inherited from RefactoringContributor.)

Top

Properties

 

Name

Description

Public property

PreviewGroup

Gets or sets the preview group instance that is associated with the ChangeProposals that this contributor will return. (Inherited from RefactoringContributor.)

Top

See Also

Reference

RefactoringContributor<TContributorInput> Class

Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace