C# 클래스 Microsoft.Languages.Editor.Tasks.IdleTimeAction

Action that should be executed on next idle after certain amount of milliseconds
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
Cancel ( object tag ) : void

Cancels idle time action. Has no effect if action has already been executed.

Create ( System.Action action, int delay, object tag, ICoreShell shell ) : void

Create delayed idle time action

비공개 메소드들

메소드 설명
ConnectToIdle ( ) : void
DisconnectFromIdle ( ) : void
IdleTimeAction ( System.Action action, int delay, object tag, ICoreShell shell ) : System
OnIdle ( object sender, EventArgs e ) : void

메소드 상세

Cancel() 공개 정적인 메소드

Cancels idle time action. Has no effect if action has already been executed.
public static Cancel ( object tag ) : void
tag object Tag identifying the action to cancel
리턴 void

Create() 공개 정적인 메소드

Create delayed idle time action
public static Create ( System.Action action, int delay, object tag, ICoreShell shell ) : void
action System.Action Action to execute on idle
delay int Minimum number of milliseconds to wait before executing the action
tag object Object that uniquely identifies the action. Typically creator object.
shell ICoreShell
리턴 void