C# Класс DotNetWorkQueue.TaskScheduling.WorkGroup

Allows setting concurrency levels for ITaskScheduler
For hashing and Equals comparisons the Name is always used.
Наследование: IWorkGroup
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Equals ( object obj ) : bool

Determines whether the specified System.Object, is equal to this instance.

GetHashCode ( ) : int

Returns a hash code for this instance.

ToString ( ) : string

Returns a System.String that represents this instance.

WorkGroup ( string name, int concurrencyLevel, int maxQueueSize ) : DotNetWorkQueue.Validation

Initializes a new instance of the WorkGroup class.

Описание методов

Equals() публичный Метод

Determines whether the specified System.Object, is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
Результат bool

GetHashCode() публичный Метод

Returns a hash code for this instance.
public GetHashCode ( ) : int
Результат int

ToString() публичный Метод

Returns a System.String that represents this instance.
public ToString ( ) : string
Результат string

WorkGroup() публичный Метод

Initializes a new instance of the WorkGroup class.
public WorkGroup ( string name, int concurrencyLevel, int maxQueueSize ) : DotNetWorkQueue.Validation
name string The name.
concurrencyLevel int The concurrency level.
maxQueueSize int Maximum size of the queue.
Результат DotNetWorkQueue.Validation