Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
SimpleScheduler ( System.Action task, string timeToRun ) : System |
Initializes a new instance of the SimpleScheduler class.
|
|
SimpleScheduler ( System.Action task, string timeToRunTask, System.TimeSpan interval ) : System |
Initializes a new instance of the SimpleScheduler class.
|
|
Start ( ) : void |
Starts the scheduler.
|
|
Stop ( ) : void |
Stops the scheduler.
|
Méthode | Description | |
---|---|---|
RunTask ( ) : void |
Runs the scheduled task.
|
public SimpleScheduler ( System.Action task, string timeToRun ) : System | ||
task | System.Action | The task to run. |
timeToRun | string | The time to run. |
Résultat | System |
public SimpleScheduler ( System.Action task, string timeToRunTask, System.TimeSpan interval ) : System | ||
task | System.Action | The task to run. |
timeToRunTask | string | The time to run task. |
interval | System.TimeSpan | The interval. |
Résultat | System |