Catel.Fody.InstructionListExtensions.Prepend C# (CSharp) Method

Prepend() public static method

public static Prepend ( this collection ) : void
collection this
return void
        public static void Prepend(this Collection<Instruction> collection, params Instruction[] instructions)
        {
            for (var index = 0; index < instructions.Length; index++)
            {
                var instruction = instructions[index];
                collection.Insert(index, instruction);
            }
        }