C# Class Rubberduck.Common.StaTaskScheduler

Inheritance: System.Threading.Tasks.TaskScheduler, IDisposable
Exibir arquivo Open project: retailcoder/Rubberduck

Public Methods

Method Description
Dispose ( ) : void
StaTaskScheduler ( ) : System
StaTaskScheduler ( int concurrencyLevel ) : System

Protected Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetScheduledTasks() protected method

protected GetScheduledTasks ( ) : IEnumerable
return IEnumerable

QueueTask() protected method

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

StaTaskScheduler() public method

public StaTaskScheduler ( ) : System
return System

StaTaskScheduler() public method

public StaTaskScheduler ( int concurrencyLevel ) : System
concurrencyLevel int
return System

TryExecuteTaskInline() protected method

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