RefactoringContributor<TContributorInput>.OnPreApplyChanges 메서드
OnPreApplyChanges를 통해 참가자는 선택된 변경 제안을 적용하기 전에 작업을 수행할 수 있습니다.
네임스페이스: Microsoft.VisualStudio.Data.Schema.Package.Refactoring
어셈블리: Microsoft.VisualStudio.Data.Schema.Package(Microsoft.VisualStudio.Data.Schema.Package.dll)
구문
‘선언
Protected Overridable Sub OnPreApplyChanges ( _
changes As ApplyChangesEventArgs _
)
protected virtual void OnPreApplyChanges(
ApplyChangesEventArgs changes
)
protected:
virtual void OnPreApplyChanges(
ApplyChangesEventArgs^ changes
)
abstract OnPreApplyChanges :
changes:ApplyChangesEventArgs -> unit
override OnPreApplyChanges :
changes:ApplyChangesEventArgs -> unit
protected function OnPreApplyChanges(
changes : ApplyChangesEventArgs
)
매개 변수
- changes
형식: Microsoft.VisualStudio.Data.Schema.Package.Refactoring.ApplyChangesEventArgs
선택된 변경 제안이 포함된 이벤트 인수입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.
참고 항목
참조
RefactoringContributor<TContributorInput> 클래스
Microsoft.VisualStudio.Data.Schema.Package.Refactoring 네임스페이스