Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
TestTaskScheduler ( bool executeTplTasks ) : System |
Initializes a new instance of the TestTaskScheduler class.
|
Méthode | Description | |
---|---|---|
GetScheduledTasks ( ) : IEnumerable |
Gets the Tasks currently scheduled to this scheduler.
|
|
QueueTask ( System.Threading.Tasks.Task task ) : void |
Runs the provided Task synchronously on the current thread.
|
|
TryExecuteTaskInline ( System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued ) : bool |
Runs the provided Task synchronously on the current thread.
|
protected GetScheduledTasks ( ) : IEnumerable |
||
Résultat | IEnumerable |
protected QueueTask ( System.Threading.Tasks.Task task ) : void | ||
task | System.Threading.Tasks.Task | The task to be executed. |
Résultat | void |
public TestTaskScheduler ( bool executeTplTasks ) : System | ||
executeTplTasks | bool |
/// Setting this field to |
Résultat | System |
protected TryExecuteTaskInline ( System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued ) : bool | ||
task | System.Threading.Tasks.Task | The task to be executed. |
taskWasPreviouslyQueued | bool | Whether the Task was previously queued to the scheduler. |
Résultat | bool |