Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
TestTaskScheduler ( bool executeTplTasks ) : System |
Initializes a new instance of the TestTaskScheduler class.
|
Метод | Описание | |
---|---|---|
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 |
||
Результат | IEnumerable |
protected QueueTask ( System.Threading.Tasks.Task task ) : void | ||
task | System.Threading.Tasks.Task | The task to be executed. |
Результат | void |
public TestTaskScheduler ( bool executeTplTasks ) : System | ||
executeTplTasks | bool |
/// Setting this field to |
Результат | 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. |
Результат | bool |