C# Class DotNetWorkQueue.TaskScheduling.WorkGroup

Allows setting concurrency levels for ITaskScheduler
For hashing and Equals comparisons the Name is always used.
Inheritance: IWorkGroup
Mostra file Open project: blehnen/DotNetWorkQueue Class Usage Examples

Public Methods

Method Description
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.

Method Details

Equals() public method

Determines whether the specified System.Object, is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
return bool

GetHashCode() public method

Returns a hash code for this instance.
public GetHashCode ( ) : int
return int

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string

WorkGroup() public method

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.
return DotNetWorkQueue.Validation