C# 클래스 LogViewer.Utilities.DelayedActions.DelayedAction

파일 보기 프로젝트 열기: Dronacharya-Org/Dronacharya

공개 메소드들

메소드 설명
StartDelayTimer ( System.Action action, System.TimeSpan delay ) : void

Start a count down with the given delay, and fire the given action when it reaches zero. But if this method is called again before the timeout it resets the timeout and starts again.

StopDelayTimer ( ) : void

비공개 메소드들

메소드 설명
OnDelayTimerTick ( object state ) : void

메소드 상세

StartDelayTimer() 공개 메소드

Start a count down with the given delay, and fire the given action when it reaches zero. But if this method is called again before the timeout it resets the timeout and starts again.
public StartDelayTimer ( System.Action action, System.TimeSpan delay ) : void
action System.Action The action to perform when the delay is reached
delay System.TimeSpan The timeout before calling the action
리턴 void

StopDelayTimer() 공개 메소드

public StopDelayTimer ( ) : void
리턴 void