Пример #1
0
        public static FSharpMultiAssembly Combine(params FSharpMultiAssembly[] assemblies)
        {
            var newasm = new FSharpMultiAssembly();

            foreach (var combos in assemblies)
            {
                foreach (var asm in combos.Assemblies)
                {
                    newasm.Assemblies.Add(asm.Key, asm.Value);
                }
            }

            return(newasm);
        }
Пример #2
0
        public static FSharpMultiAssembly Combine(FSharpMultiAssembly assembly1, FSharpMultiAssembly assembly2)
        {
            var newasm = new FSharpMultiAssembly();

            foreach (var asm in assembly1.Assemblies)
            {
                newasm.Assemblies.Add(asm.Key, asm.Value);
            }

            foreach (var asm in assembly2.Assemblies)
            {
                newasm.Assemblies.Add(asm.Key, asm.Value);
            }

            return(newasm);
        }