RefactoringContributor<TContributorInput> 클래스
이 클래스는 ContributorInput 매개 변수를 받아 들이고, 변경 제안을 제시하며, 처리할 추가 ContributorInput을 만듭니다. 이 클래스는 변경 내용을 관리자에게 제안하고 알리는 대부분의 작업을 수행합니다. 자세한 내용은 사용자 지정 데이터베이스 리팩터링 형식 또는 대상 만들기을 참조하십시오.
이 API는 CLS 규격이 아닙니다.
상속 계층 구조
System.Object
Microsoft.VisualStudio.Data.Schema.Package.Refactoring.RefactoringContributor
Microsoft.VisualStudio.Data.Schema.Package.Refactoring.RefactoringContributor<TContributorInput>
네임스페이스: Microsoft.VisualStudio.Data.Schema.Package.Refactoring
어셈블리: Microsoft.VisualStudio.Data.Schema.Package(Microsoft.VisualStudio.Data.Schema.Package.dll)
구문
‘선언
<CLSCompliantAttribute(False)> _
Public MustInherit Class RefactoringContributor(Of TContributorInput As ContributorInput) _
Inherits RefactoringContributor
[CLSCompliantAttribute(false)]
public abstract class RefactoringContributor<TContributorInput> : RefactoringContributor
where TContributorInput : ContributorInput
[CLSCompliantAttribute(false)]
generic<typename TContributorInput>
where TContributorInput : ContributorInput
public ref class RefactoringContributor abstract : public RefactoringContributor
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type RefactoringContributor<'TContributorInput when 'TContributorInput : ContributorInput> =
class
inherit RefactoringContributor
end
JScript에서는 제네릭 형식이나 메서드를 지원하지 않습니다.
Type 매개 변수
- TContributorInput
RefactoringContributor<TContributorInput> 형식에서는 다음과 같은 멤버를 노출합니다.
생성자
이름 | 설명 | |
---|---|---|
![]() |
RefactoringContributor<TContributorInput> | RefactoringContributor<TContributorInput> 클래스의 새 인스턴스를 초기화합니다. |
위쪽
속성
이름 | 설명 | |
---|---|---|
![]() |
PreviewGroup | 이 참가자가 반환한 ChangeProposal과 연결된 리팩터링 미리 보기 그룹 인스턴스를 가져오거나 설정합니다. (RefactoringContributor에서 상속됨) |
위쪽
메서드
이름 | 설명 | |
---|---|---|
![]() |
ContributeChanges | |
![]() |
Equals | 지정한 Object가 현재 Object와 같은지 여부를 확인합니다. (Object에서 상속됨) |
![]() |
Finalize | 가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨) |
![]() |
GetHashCode | 특정 형식에 대한 해시 함수 역할을 합니다. (Object에서 상속됨) |
![]() |
GetType | 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨) |
![]() |
MemberwiseClone | 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨) |
![]() |
OnBeforeAnalysis | 분석이 시작되기 전에 다른 참가자가 준비 작업(예: 변경된 파일 저장)을 수행해야 하는 시나리오를 사용할 수 있습니다. |
![]() |
OnPostApplyChanges | 참가자가 선택된 변경 제안이 적용된 후 작업을 수행할 수 있도록 합니다. |
![]() |
OnPreApplyChanges | OnPreApplyChanges를 통해 참가자는 선택된 변경 제안을 적용하기 전에 작업을 수행할 수 있습니다. |
![]() |
RegisterGeneratedInputType | 분석 도중 이 참가자가 생성하는 가능한 모든 전파 입력 형식을 등록합니다. (RefactoringContributor에서 상속됨) |
![]() |
ToString | 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨) |
위쪽
스레드로부터의 안전성
이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.
참고 항목
참조
Microsoft.VisualStudio.Data.Schema.Package.Refactoring 네임스페이스