RiskPatternCollection class

Represents a collection containing the instances of the RiskPattern class.

public class RiskPatternCollection : ICollection<RiskPattern>, IDictionary<Task, RiskPattern>


Name Description
Count { get; } Gets the number of elements contained in this collection.
IsReadOnly { get; } Gets a value indicating whether this collection is read-only; otherwise, false.
Item { get; } Gets the instance of the RiskPattern class for the specified task.


Name Description
Add(RiskPattern) Adds an instance of the RiskPattern class to this collection.
Clear() Removes all items from this collection.
Contains(RiskPattern) Returns true if the specified item is found in this collection; otherwise, false.
CopyTo(RiskPattern[], int) Copies the elements of this collection to the specified array, starting at the specified array index.
GetEnumerator() Returns an enumerator for this collection.
Remove(RiskPattern) Removes the first occurrence of a specific object from this collection.

See Also