C# Class System.Threading.Tasks.Tests.UnwrapTests.CountingScheduler

Inheritance: TaskScheduler
Datei anzeigen Open project: lodejard/AllNetCore

Public Properties

Property Type Description
QueueTaskCalls int

Protected Methods

Method Description
GetScheduledTasks ( ) : IEnumerable
QueueTask ( Task task ) : void
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool

Method Details

GetScheduledTasks() protected method

protected GetScheduledTasks ( ) : IEnumerable
return IEnumerable

QueueTask() protected method

protected QueueTask ( Task task ) : void
task Task
return void

TryExecuteTaskInline() protected method

protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task
taskWasPreviouslyQueued bool
return bool

Property Details

QueueTaskCalls public_oe property

public int QueueTaskCalls
return int