public static DelayedCall StartAsync(Callback cb, int milliseconds) { DelayedCall dc = CreateAsync(cb, milliseconds); if (milliseconds > 0) { dc.Start(); } else if (milliseconds == 0) { dc.FireNow(); } return(dc); }
public DelayedCall(DelayedCall <object> .Callback cb, object data) : this() { PrepareDCObject(this, 0, false); oldCallback = cb; oldData = data; }