C# 클래스 StompSharp.Threading.BlockingCollectionTaskScheduler

상속: System.Threading.Tasks.TaskScheduler, IDisposable
파일 보기 프로젝트 열기: Code-Sharp/StompSharp

공개 메소드들

메소드 설명
BlockingCollectionTaskScheduler ( BlockingCollection collection ) : System
Dispose ( ) : void

보호된 메소드들

메소드 설명
GetScheduledTasks ( ) : IEnumerable
QueueTask ( Task task ) : void
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool

비공개 메소드들

메소드 설명
RunTasks ( ) : void

메소드 상세

BlockingCollectionTaskScheduler() 공개 메소드

public BlockingCollectionTaskScheduler ( BlockingCollection collection ) : System
collection BlockingCollection
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetScheduledTasks() 보호된 메소드

protected GetScheduledTasks ( ) : IEnumerable
리턴 IEnumerable

QueueTask() 보호된 메소드

protected QueueTask ( Task task ) : void
task Task
리턴 void

TryExecuteTaskInline() 보호된 메소드

protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task
taskWasPreviouslyQueued bool
리턴 bool