C# 클래스 SpicyPixel.Threading.FiberFactory

A Fiber Factory for creating fibers with the same options.
파일 보기 프로젝트 열기: spicypixel/concurrency-kit-cs 1 사용 예제들

공개 메소드들

메소드 설명
FiberFactory ( ) : System

Initializes a new instance of the SpicyPixel.Threading.FiberFactory class.

FiberFactory ( CancellationToken cancellationToken ) : System

Initializes a new instance of the SpicyPixel.Threading.FiberFactory class.

FiberFactory ( CancellationToken cancellationToken, FiberContinuationOptions continuationOptions, FiberScheduler scheduler ) : System

Initializes a new instance of the SpicyPixel.Threading.FiberFactory class.

FiberFactory ( FiberContinuationOptions continuationOptions ) : System

Initializes a new instance of the SpicyPixel.Threading.FiberFactory class.

FiberFactory ( FiberScheduler scheduler ) : System

Initializes a new instance of the SpicyPixel.Threading.FiberFactory class.

StartNew ( System.Action action ) : Fiber

Start executing a new fiber using the default scheduler on the thread.

StartNew ( System.Action action, CancellationToken cancellationToken ) : Fiber

Start executing a new fiber using the default scheduler on the thread.

StartNew ( System.Action action, CancellationToken cancellationToken, FiberScheduler scheduler ) : Fiber

Start executing a new fiber using the default scheduler on the thread.

StartNew ( System.Action action, FiberScheduler scheduler ) : Fiber

Start executing a new fiber using the default scheduler on the thread.

StartNew ( Action action, object state ) : Fiber

Start executing a new fiber using the default scheduler on the thread.

StartNew ( Action action, object state, CancellationToken cancellationToken ) : Fiber

Start executing a new fiber using the default scheduler on the thread.

StartNew ( Action action, object state, CancellationToken cancellationToken, FiberScheduler scheduler ) : Fiber

Start executing a new fiber using the default scheduler on the thread.

StartNew ( Action action, object state, FiberScheduler scheduler ) : Fiber

Start executing a new fiber using the default scheduler on the thread.

StartNew ( Func func ) : Fiber

Initializes a new instance of the SpicyPixel.Threading.Fiber class.

StartNew ( Func func, CancellationToken cancellationToken ) : Fiber

Initializes a new instance of the SpicyPixel.Threading.Fiber class.

StartNew ( Func func, CancellationToken cancellationToken, FiberScheduler scheduler ) : Fiber

Initializes a new instance of the SpicyPixel.Threading.Fiber class.

StartNew ( Func func, FiberScheduler scheduler ) : Fiber

Initializes a new instance of the SpicyPixel.Threading.Fiber class.

StartNew ( FiberInstruction>.Func func, object state ) : Fiber

Initializes a new instance of the SpicyPixel.Threading.Fiber class.

StartNew ( FiberInstruction>.Func func, object state, CancellationToken cancellationToken ) : Fiber

Initializes a new instance of the SpicyPixel.Threading.Fiber class.

StartNew ( FiberInstruction>.Func func, object state, CancellationToken cancellationToken, FiberScheduler scheduler ) : Fiber

Initializes a new instance of the SpicyPixel.Threading.Fiber class.

StartNew ( FiberInstruction>.Func func, object state, FiberScheduler scheduler ) : Fiber

Initializes a new instance of the SpicyPixel.Threading.Fiber class.

StartNew ( IEnumerator coroutine ) : Fiber

Start executing a new fiber using the default scheduler on the thread.

StartNew ( IEnumerator coroutine, CancellationToken cancellationToken ) : Fiber

Start executing a new fiber using the default scheduler on the thread.

StartNew ( IEnumerator coroutine, CancellationToken cancellationToken, FiberScheduler scheduler ) : Fiber

Start executing a new fiber using the specified scheduler.

StartNew ( IEnumerator coroutine, FiberScheduler scheduler ) : Fiber

Start executing a new fiber using the specified scheduler.

비공개 메소드들

메소드 설명
CheckContinuationOptions ( FiberContinuationOptions continuationOptions ) : void
GetScheduler ( ) : FiberScheduler

메소드 상세

FiberFactory() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.FiberFactory class.
public FiberFactory ( ) : System
리턴 System

FiberFactory() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.FiberFactory class.
public FiberFactory ( CancellationToken cancellationToken ) : System
cancellationToken System.Threading.CancellationToken Cancellation token.
리턴 System

FiberFactory() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.FiberFactory class.
public FiberFactory ( CancellationToken cancellationToken, FiberContinuationOptions continuationOptions, FiberScheduler scheduler ) : System
cancellationToken System.Threading.CancellationToken Cancellation token.
continuationOptions FiberContinuationOptions Continuation options.
scheduler FiberScheduler Scheduler.
리턴 System

FiberFactory() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.FiberFactory class.
public FiberFactory ( FiberContinuationOptions continuationOptions ) : System
continuationOptions FiberContinuationOptions Continuation options.
리턴 System

FiberFactory() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.FiberFactory class.
public FiberFactory ( FiberScheduler scheduler ) : System
scheduler FiberScheduler Scheduler.
리턴 System

StartNew() 공개 메소드

Start executing a new fiber using the default scheduler on the thread.
public StartNew ( System.Action action ) : Fiber
action System.Action /// A non-blocking action to execute on the fiber. ///
리턴 Fiber

StartNew() 공개 메소드

Start executing a new fiber using the default scheduler on the thread.
public StartNew ( System.Action action, CancellationToken cancellationToken ) : Fiber
action System.Action /// A non-blocking action to execute on the fiber. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
리턴 Fiber

StartNew() 공개 메소드

Start executing a new fiber using the default scheduler on the thread.
public StartNew ( System.Action action, CancellationToken cancellationToken, FiberScheduler scheduler ) : Fiber
action System.Action /// A non-blocking action to execute on the fiber. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
scheduler FiberScheduler /// A scheduler to execute the fiber on. ///
리턴 Fiber

StartNew() 공개 메소드

Start executing a new fiber using the default scheduler on the thread.
public StartNew ( System.Action action, FiberScheduler scheduler ) : Fiber
action System.Action /// A non-blocking action to execute on the fiber. ///
scheduler FiberScheduler /// A scheduler to execute the fiber on. ///
리턴 Fiber

StartNew() 공개 메소드

Start executing a new fiber using the default scheduler on the thread.
public StartNew ( Action action, object state ) : Fiber
action Action /// A non-blocking action to execute on the fiber. ///
state object /// State to pass to the action. ///
리턴 Fiber

StartNew() 공개 메소드

Start executing a new fiber using the default scheduler on the thread.
public StartNew ( Action action, object state, CancellationToken cancellationToken ) : Fiber
action Action /// A non-blocking action to execute on the fiber. ///
state object /// State to pass to the action. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
리턴 Fiber

StartNew() 공개 메소드

Start executing a new fiber using the default scheduler on the thread.
public StartNew ( Action action, object state, CancellationToken cancellationToken, FiberScheduler scheduler ) : Fiber
action Action /// A non-blocking action to execute on the fiber. ///
state object /// State to pass to the action. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
scheduler FiberScheduler /// A scheduler to execute the fiber on. ///
리턴 Fiber

StartNew() 공개 메소드

Start executing a new fiber using the default scheduler on the thread.
public StartNew ( Action action, object state, FiberScheduler scheduler ) : Fiber
action Action /// A non-blocking action to execute on the fiber. ///
state object /// State to pass to the action. ///
scheduler FiberScheduler /// A scheduler to execute the fiber on. ///
리턴 Fiber

StartNew() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.Fiber class.
public StartNew ( Func func ) : Fiber
func Func /// A non-blocking function that returns a when complete. ///
리턴 Fiber

StartNew() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.Fiber class.
public StartNew ( Func func, CancellationToken cancellationToken ) : Fiber
func Func /// A non-blocking function that returns a when complete. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
리턴 Fiber

StartNew() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.Fiber class.
public StartNew ( Func func, CancellationToken cancellationToken, FiberScheduler scheduler ) : Fiber
func Func /// A non-blocking function that returns a when complete. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
scheduler FiberScheduler /// A scheduler to execute the fiber on. ///
리턴 Fiber

StartNew() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.Fiber class.
public StartNew ( Func func, FiberScheduler scheduler ) : Fiber
func Func /// A non-blocking function that returns a when complete. ///
scheduler FiberScheduler /// A scheduler to execute the fiber on. ///
리턴 Fiber

StartNew() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.Fiber class.
public StartNew ( FiberInstruction>.Func func, object state ) : Fiber
func FiberInstruction>.Func /// A non-blocking function that returns a when complete. ///
state object /// State to pass to the function. ///
리턴 Fiber

StartNew() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.Fiber class.
public StartNew ( FiberInstruction>.Func func, object state, CancellationToken cancellationToken ) : Fiber
func FiberInstruction>.Func /// A non-blocking function that returns a when complete. ///
state object /// State to pass to the function. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
리턴 Fiber

StartNew() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.Fiber class.
public StartNew ( FiberInstruction>.Func func, object state, CancellationToken cancellationToken, FiberScheduler scheduler ) : Fiber
func FiberInstruction>.Func /// A non-blocking function that returns a when complete. ///
state object /// State to pass to the function. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
scheduler FiberScheduler /// A scheduler to execute the fiber on. ///
리턴 Fiber

StartNew() 공개 메소드

Initializes a new instance of the SpicyPixel.Threading.Fiber class.
public StartNew ( FiberInstruction>.Func func, object state, FiberScheduler scheduler ) : Fiber
func FiberInstruction>.Func /// A non-blocking function that returns a when complete. ///
state object /// State to pass to the function. ///
scheduler FiberScheduler /// A scheduler to execute the fiber on. ///
리턴 Fiber

StartNew() 공개 메소드

Start executing a new fiber using the default scheduler on the thread.
public StartNew ( IEnumerator coroutine ) : Fiber
coroutine IEnumerator /// A couroutine to execute on the fiber. ///
리턴 Fiber

StartNew() 공개 메소드

Start executing a new fiber using the default scheduler on the thread.
public StartNew ( IEnumerator coroutine, CancellationToken cancellationToken ) : Fiber
coroutine IEnumerator /// A couroutine to execute on the fiber. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
리턴 Fiber

StartNew() 공개 메소드

Start executing a new fiber using the specified scheduler.
public StartNew ( IEnumerator coroutine, CancellationToken cancellationToken, FiberScheduler scheduler ) : Fiber
coroutine IEnumerator /// A couroutine to execute on the fiber. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
scheduler FiberScheduler /// A scheduler to execute the fiber on. ///
리턴 Fiber

StartNew() 공개 메소드

Start executing a new fiber using the specified scheduler.
public StartNew ( IEnumerator coroutine, FiberScheduler scheduler ) : Fiber
coroutine IEnumerator /// A couroutine to execute on the fiber. ///
scheduler FiberScheduler /// A scheduler to execute the fiber on. ///
리턴 Fiber