Catel.Fody.InstructionListExtensions.BeforeLast C# (CSharp) 메소드

BeforeLast() 공개 정적인 메소드

public static BeforeLast ( this collection ) : void
collection this
리턴 void
        public static void BeforeLast(this Collection<Instruction> collection, params Instruction[] instructions)
        {
            var index = collection.Count - 1;
            foreach (var instruction in instructions)
            {
                collection.Insert(index, instruction);
                index++;
            }
        }