DirectiveProcessor.FinishProcessingRun 메서드
파생 클래스에서 재정의된 경우 일련의 지시문 처리를 완료합니다.
네임스페이스: Microsoft.VisualStudio.TextTemplating
어셈블리: Microsoft.VisualStudio.TextTemplating.12.0(Microsoft.VisualStudio.TextTemplating.12.0.dll)
구문
‘선언
Public MustOverride Sub FinishProcessingRun
public abstract void FinishProcessingRun()
public:
virtual void FinishProcessingRun() abstract
abstract FinishProcessingRun : unit -> unit
public abstract function FinishProcessingRun()
구현
IDirectiveProcessor.FinishProcessingRun
설명
새로운 처리 라운드 시작할 수 있도록 상태 시스템을 다시 설정합니다.
예제
다음 코드 예제에서는 사용자 지정 지시문 처리기에 대한 구현 방법을 보여 줍니다. 이 코드 예제는 DirectiveProcessor 클래스에 대해 제공되는 보다 큰 예제의 일부입니다.
public override void FinishProcessingRun()
{
this.codeDomProvider = null;
directiveCount = 0;
//important: do not do this:
//the get methods below are called after this method
//and the get methods can access this field
//-----------------------------------------------------------------
//this.codeBuffer = null;
}
Public Overrides Sub FinishProcessingRun()
Me.codeDomProvider = Nothing
directiveCount = 0
'important: do not do this:
'the get methods below are called after this method
'and the get methods can access this field
'-----------------------------------------------------------------
'Me.codeBuffer = Nothing
End Sub
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.
참고 항목
참조
Microsoft.VisualStudio.TextTemplating 네임스페이스