SchedulerCollection<T> Class

Definition

Defines a generic collection of objects that the scheduler returns.

public class SchedulerCollection<T> : Microsoft.Hpc.Scheduler.ISchedulerCollection, System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.ICollection
type SchedulerCollection<'T> = class
    interface ICollection<'T>
    interface seq<'T>
    interface IEnumerable
    interface ISchedulerCollection
    interface ICollection
Public Class SchedulerCollection(Of T)
Implements ICollection, ICollection(Of T), IEnumerable(Of T), ISchedulerCollection

Type Parameters

T
Inheritance
SchedulerCollection<T>
Derived
Implements

Constructors

SchedulerCollection<T>()

Initializes a new, empty instance of this class.

SchedulerCollection<T>(IEnumerable<T>)

Initializes a new instance of this class using the contents of an existing collection to populate the collection.

Properties

Count

Retrieves a count of the number of items in the collection.

IsReadOnly

Determines whether the collection is read-only.

IsSynchronized

Determines whether access to the collection is synchronized.

Item[Int32]

Retrieves the specified item from the collection.

SyncRoot

Retrieves an object that can be used to synchronize access to the collection.

Methods

Add(T)

Adds an item to the collection.

Clear()

Removes all items from the collection.

Contains(T)

Determines whether the collection contains the specified item.

CopyTo(Array, Int32)

Copies items from the collection to an array at the specified index.

CopyTo(T[], Int32)

Copies items from the collection to an array at the specified index.

Remove(T)

Removes the first occurrence of the specified item from the collection.

Explicit Interface Implementations

IEnumerable.GetEnumerator()
IEnumerable<T>.GetEnumerator()
ISchedulerCollection.Add(Object)
ISchedulerCollection.Contains(Object)
ISchedulerCollection.GetEnumerator()
ISchedulerCollection.Item[Int32]
ISchedulerCollection.Remove(Object)

Applies to