C# 클래스 VsTeXProject.VisualStudio.Project.Automation.AutomationScope

Helper class that handle the scope of an automation function. It should be used inside a "using" directive to define the scope of the automation function and make sure that the ExitAutomation method is called.
상속: IDisposable
파일 보기 프로젝트 열기: mimura1133/vstex 1 사용 예제들

공개 메소드들

메소드 설명
AutomationScope ( IServiceProvider provider ) : System

Defines the beginning of the scope of an automation function. This constuctor calls EnterAutomationFunction to signal the Shell that the current function is changing the status of the automation objects.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ExitAutomation ( ) : void

Ends the scope of the automation function. This function is also called by the Dispose method.

비공개 메소드들

메소드 설명
AutomationScope ( ) : System
Dispose ( bool disposing ) : void

메소드 상세

AutomationScope() 공개 메소드

Defines the beginning of the scope of an automation function. This constuctor calls EnterAutomationFunction to signal the Shell that the current function is changing the status of the automation objects.
public AutomationScope ( IServiceProvider provider ) : System
provider IServiceProvider
리턴 System

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

ExitAutomation() 공개 메소드

Ends the scope of the automation function. This function is also called by the Dispose method.
public ExitAutomation ( ) : void
리턴 void