Class ValueOperandListCollection<T>
Support class to provide read/update semantics to the operands of a container element
Inheritance
ValueOperandListCollection<T>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Ubiquity.NET.Llvm.Values
Assembly: Ubiquity.NET.Llvm.dll
Syntax
public sealed class ValueOperandListCollection<T> : IOperandCollection<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : Value
Type Parameters
T
Type of elements in the collection |
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 |
Item[Int32] | 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 |
Explicit Interface Implementations
IEnumerable.GetEnumerator() | Gets an enumerator for this collection |