C# Class StompSharp.Threading.BlockingCollectionTaskScheduler

Inheritance: System.Threading.Tasks.TaskScheduler, IDisposable
Afficher le fichier Open project: Code-Sharp/StompSharp

Méthodes publiques

Méthode Description
BlockingCollectionTaskScheduler ( BlockingCollection collection ) : System
Dispose ( ) : void

Méthodes protégées

Méthode Description
GetScheduledTasks ( ) : IEnumerable
QueueTask ( Task task ) : void
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool

Private Methods

Méthode Description
RunTasks ( ) : void

Method Details

BlockingCollectionTaskScheduler() public méthode

public BlockingCollectionTaskScheduler ( BlockingCollection collection ) : System
collection BlockingCollection
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetScheduledTasks() protected méthode

protected GetScheduledTasks ( ) : IEnumerable
Résultat IEnumerable

QueueTask() protected méthode

protected QueueTask ( Task task ) : void
task Task
Résultat void

TryExecuteTaskInline() protected méthode

protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task
taskWasPreviouslyQueued bool
Résultat bool