C# 클래스 Ensage.Common.DelayActionItem

Class that contains all of the needed information for delaying an action.
파일 보기 프로젝트 열기: EnsageSharp/Ensage.Common 1 사용 예제들

공개 메소드들

메소드 설명
DelayActionItem ( int time, System.Action func, CancellationToken token ) : System

Initializes a new instance of the DelayActionItem class.

메소드 상세

DelayActionItem() 공개 메소드

Initializes a new instance of the DelayActionItem class.
public DelayActionItem ( int time, System.Action func, CancellationToken token ) : System
time int The time(in milliseconds) to call the function..
func System.Action The function to call once the has expired.
token System.Threading.CancellationToken The cancelation token.
리턴 System