C# 클래스 Source.Concurrency.SequentialTaskScheduler

상속: System.Threading.Tasks.TaskScheduler, IShutDownable
파일 보기 프로젝트 열기: mrange/T4Include

공개 프로퍼티들

프로퍼티 타입 설명
Name string
TimeOut System.TimeSpan

공개 메소드들

메소드 설명
Dispose ( ) : void
SequentialTaskScheduler ( string name, System.TimeSpan timeOut = null, ApartmentState apartmentState = ApartmentState.Unknown ) : System
ShutDown ( RemainingTime remainingTime ) : void
SignalShutDown ( ) : void

보호된 메소드들

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

비공개 메소드들

메소드 설명
OnRun ( object context ) : void
Partial_TaskFailed ( Task task, Exception exc, int failureCount, bool &done ) : void
Partial_ThreadCreated ( Thread thread ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetScheduledTasks() 보호된 메소드

protected GetScheduledTasks ( ) : IEnumerable
리턴 IEnumerable

QueueTask() 보호된 메소드

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

SequentialTaskScheduler() 공개 메소드

public SequentialTaskScheduler ( string name, System.TimeSpan timeOut = null, ApartmentState apartmentState = ApartmentState.Unknown ) : System
name string
timeOut System.TimeSpan
apartmentState ApartmentState
리턴 System

ShutDown() 공개 메소드

public ShutDown ( RemainingTime remainingTime ) : void
remainingTime RemainingTime
리턴 void

SignalShutDown() 공개 메소드

public SignalShutDown ( ) : void
리턴 void

TryDequeue() 보호된 메소드

protected TryDequeue ( Task task ) : bool
task Task
리턴 bool

TryExecuteTaskInline() 보호된 메소드

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

프로퍼티 상세

Name 공개적으로 프로퍼티

public string Name
리턴 string

TimeOut 공개적으로 프로퍼티

public TimeSpan,System TimeOut
리턴 System.TimeSpan