InstructionOrEnumerableExtensions Class
Definition
Section titled “Definition”Extension methods to help working with InstructionOrEnumerable types.
public static class InstructionOrEnumerableExtensionsInheritance object
Methods
Section titled “Methods”Unwrap(IEnumerable<InstructionOrEnumerable>)
Section titled “Unwrap(IEnumerable<InstructionOrEnumerable>)”Unwraps an IEnumerable of the wrapper type InstructionOrEnumerable which may contain an arbitrary amount of Instructions per wrapper type into a flat IEnumerable of Instruction.
public static IEnumerable<Instruction> Unwrap(this IEnumerable<InstructionOrEnumerable> instructions)Parameters
Section titled “Parameters”instructions IEnumerable<InstructionOrEnumerable>
Returns
Section titled “Returns”IEnumerable<Instruction>
A flat IEnumerable of Instruction.