Table of Contents

Class MetadataOperandCollection

Namespace
Ubiquity.NET.Llvm.Metadata
Assembly
Ubiquity.NET.Llvm.dll

Support class to provide read/update semantics to the operands of a container element

public sealed class MetadataOperandCollection : IOperandCollection<IrMetadata?>, IReadOnlyCollection<IrMetadata?>, IEnumerable<IrMetadata?>, IEnumerable
Inheritance
MetadataOperandCollection
Implements
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 or sets the specified element in the collection

Methods

Contains(IrMetadata?)

Gets a value indicating whether the collection contains the specified item or not

GetEnumerator()

Gets an enumerator for the operands in this collection

GetOperand<TItem>(Index)

Specialized indexer to get the element as a specific derived type