Class ValueOperandListCollection<T>
Support class to provide read/update semantics to the operands of a container element
public sealed class ValueOperandListCollection<T> : IOperandCollection<T?>, IReadOnlyCollection<T?>, IEnumerable<T?>, IEnumerable where T : Value
Type Parameters
T
Type of elements in the collection
- Inheritance
-
ValueOperandListCollection<T>
- Implements
-
IEnumerable<T>
- Inherited Members
Remarks
This class is used to implement Operand lists of elements including sub lists based on an offset. The latter case is useful for types that expose some fixed set of operands as properties and some arbitrary number of additional items as operands.
Properties
- Count
Gets the count of operands in this collection
- this[int]
Gets the operand at the specified index
Methods
- Contains(T?)
Gets a value indicating whether the collection contains the specified item or not
- GetEnumerator()
Gets an enumerator for this collection
- GetOperand<TItem>(Index)
Specialized indexer to get the element as a specific derived type