Ejemplo n.º 1
0
        public void Test_AppDomainLoadingAndUnloading()
        {
            List <String> dependentAssemblies    = CecilAssemblyDependencies.getListOfDependenciesForType(typeof(StartCSharpScriptGui));
            var           appDomainTempDirectory = DI.config.TempFolderInTempDirectory;
            var           o2AppDomainFactory     = new O2AppDomainFactory("testAppDomain", appDomainTempDirectory, dependentAssemblies);

            //o2AppDomainFactory.unLoadAppDomain();
            o2AppDomainFactory.unLoadAppDomainAndDeleteTempFolder();
        }