bool exec(Type t)
        {
            AssemblyList list = new AssemblyList();

            list.AddAssembly(GetType().Assembly);

            AssemblyListContainsChecker checker = new AssemblyListContainsChecker();

            return(checker.Contains(list, t.Assembly));
        }
Exemplo n.º 2
0
        void OpenNewAssembly()
        {
            if (openAssembly == null)
            {
                throw new InvalidOperationException();
            }

            var asm = openAssembly.Open();

            if (asm == null)
            {
                return;
            }

            assemblyList.AddAssembly(asm, true, false);
        }