C# Class MetroFramework.Animation.DelayedCall

Inheritance: IDisposable
Show file Open project: AshishKilmist/MetroFramework Class Usage Examples

Protected Properties

Property Type Description
cancelled bool
context SynchronizationContext
dcList List
timer System.Timers.Timer
timerLock object

Public Methods

Method Description
Cancel ( ) : void
CancelAll ( ) : void
Create ( Callback cb, int milliseconds ) : DelayedCall
CreateAsync ( Callback cb, int milliseconds ) : DelayedCall
Dispose ( ) : void
DisposeAll ( ) : void
Fire ( ) : void
FireAll ( ) : void
FireNow ( ) : void
Reset ( ) : void
Reset ( int milliseconds ) : void
Start ( Callback cb, int milliseconds ) : DelayedCall
Start ( ) : void
StartAsync ( Callback cb, int milliseconds ) : DelayedCall

Protected Methods

Method Description
OnFire ( ) : void
PrepareDCObject ( DelayedCall dc, int milliseconds, bool async ) : void
Register ( DelayedCall dc ) : void
Timer_Elapsed ( object o, System e ) : void
Unregister ( DelayedCall dc ) : void

Private Methods

Method Description
DelayedCall ( ) : System
DelayedCall ( Callback cb ) : System
DelayedCall ( Callback cb, int milliseconds ) : System
DelayedCall ( DelayedCall cb, int milliseconds, object data ) : System
DelayedCall ( DelayedCall cb, object data ) : System
Reset ( int milliseconds, object data ) : void
Reset ( object data ) : void
SetTimeout ( int milliseconds ) : void

Method Details

Cancel() public method

public Cancel ( ) : void
return void

CancelAll() public static method

public static CancelAll ( ) : void
return void

Create() public static method

public static Create ( Callback cb, int milliseconds ) : DelayedCall
cb Callback
milliseconds int
return DelayedCall

CreateAsync() public static method

public static CreateAsync ( Callback cb, int milliseconds ) : DelayedCall
cb Callback
milliseconds int
return DelayedCall

Dispose() public method

public Dispose ( ) : void
return void

DisposeAll() public static method

public static DisposeAll ( ) : void
return void

Fire() public method

public Fire ( ) : void
return void

FireAll() public static method

public static FireAll ( ) : void
return void

FireNow() public method

public FireNow ( ) : void
return void

OnFire() protected method

protected OnFire ( ) : void
return void

PrepareDCObject() protected static method

protected static PrepareDCObject ( DelayedCall dc, int milliseconds, bool async ) : void
dc DelayedCall
milliseconds int
async bool
return void

Register() protected static method

protected static Register ( DelayedCall dc ) : void
dc DelayedCall
return void

Reset() public method

public Reset ( ) : void
return void

Reset() public method

public Reset ( int milliseconds ) : void
milliseconds int
return void

Start() public static method

public static Start ( Callback cb, int milliseconds ) : DelayedCall
cb Callback
milliseconds int
return DelayedCall

Start() public method

public Start ( ) : void
return void

StartAsync() public static method

public static StartAsync ( Callback cb, int milliseconds ) : DelayedCall
cb Callback
milliseconds int
return DelayedCall

Timer_Elapsed() protected method

protected Timer_Elapsed ( object o, System e ) : void
o object
e System
return void

Unregister() protected static method

protected static Unregister ( DelayedCall dc ) : void
dc DelayedCall
return void

Property Details

cancelled protected property

protected bool cancelled
return bool

context protected property

protected SynchronizationContext context
return SynchronizationContext

dcList protected static property

protected static List dcList
return List

timer protected property

protected System.Timers.Timer timer
return System.Timers.Timer

timerLock protected property

protected object timerLock
return object