C# Class NLight.Threading.Tasks.SingleThreadTaskScheduler

Inheritance: System.Threading.Tasks.TaskScheduler, IDisposable
Afficher le fichier Open project: slorion/nlight

Méthodes publiques

Méthode Description
Dispose ( ) : void
SingleThreadTaskScheduler ( string name = null, ThreadPriority priority = ThreadPriority.Normal, ApartmentState apartmentState = ApartmentState.STA ) : System

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
Dispose ( bool disposing ) : void
ValidateIsDisposed ( ) : void

Method Details

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

SingleThreadTaskScheduler() public méthode

public SingleThreadTaskScheduler ( string name = null, ThreadPriority priority = ThreadPriority.Normal, ApartmentState apartmentState = ApartmentState.STA ) : System
name string
priority ThreadPriority
apartmentState ApartmentState
Résultat System

TryExecuteTaskInline() protected méthode

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