Пример #1
0
        public void ExtendedHostFunctions_lib_Merge()
        {
            var assemblyNames  = new[] { "mscorlib", "System", "System.Core" };
            var typeCollection = assemblyNames.Aggregate(new HostTypeCollection(), (tempTypeCollection, assemblyName) => host.lib(tempTypeCollection, assemblyName));

            HostTypeCollectionTest.Test(typeCollection, assemblyNames, null, (first, second) => first.FullName == second.FullName);
        }
Пример #2
0
        public void ExtendedHostFunctions_lib_MultiAssembly()
        {
            var assemblyNames = new[] { "mscorlib", "System", "System.Core" };

            HostTypeCollectionTest.Test(host.lib(assemblyNames), assemblyNames, null, (first, second) => first.FullName == second.FullName);
        }
Пример #3
0
        public void ExtendedHostFunctions_lib_SingleAssembly()
        {
            var assemblyNames = new[] { "mscorlib" };

            HostTypeCollectionTest.Test(host.lib(assemblyNames), assemblyNames, null, (first, second) => first == second);
        }