Пример #1
0
        public void Create_WithSecondAppDomain()
        {
            AppDomain     secondAppDomain = TestHelpers.CreateAppDomain("SecondAppDomain");
            ScriptRuntime secondSR        = CreateRemoteRuntime(secondAppDomain);

            Assert.IsTrue(secondSR.IsValid());
        }
Пример #2
0
        public void Create_WithCurrentAppDomain()
        {
            ScriptRuntime currentSR = CreateRemoteRuntime(AppDomain.CurrentDomain);

            Assert.IsTrue(currentSR.IsValid());
        }