C# 클래스 Open.Core.Common.Collection.ProcessQueue

A queue of items waiting to be processed.
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL 1 사용 예제들

공개 메소드들

메소드 설명
Add ( System.Action action ) : ProcessQueueHandle

Adds a new item to process to the end of the queue.

Contains ( ProcessQueueHandle handle ) : bool

Determines whether the specified handle is contained within the queue.

GetPosition ( ProcessQueueHandle handle ) : int

Gets the position of a handle within the queue.

ProcessNext ( ) : bool

Processes the next item within the queue.

Remove ( ProcessQueueHandle handle ) : void

Removes the given handle from the queue.

비공개 메소드들

메소드 설명
OnProcessed ( ProcessQueueEventArgs args ) : void
OnProcessing ( ProcessQueueEventArgs args ) : void

메소드 상세

Add() 공개 메소드

Adds a new item to process to the end of the queue.
public Add ( System.Action action ) : ProcessQueueHandle
action System.Action The action to process.
리턴 ProcessQueueHandle

Contains() 공개 메소드

Determines whether the specified handle is contained within the queue.
public Contains ( ProcessQueueHandle handle ) : bool
handle ProcessQueueHandle The handle to look for.
리턴 bool

GetPosition() 공개 메소드

Gets the position of a handle within the queue.
public GetPosition ( ProcessQueueHandle handle ) : int
handle ProcessQueueHandle The handle to examine.
리턴 int

ProcessNext() 공개 메소드

Processes the next item within the queue.
public ProcessNext ( ) : bool
리턴 bool

Remove() 공개 메소드

Removes the given handle from the queue.
public Remove ( ProcessQueueHandle handle ) : void
handle ProcessQueueHandle The handle to remove.
리턴 void