示例#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());
        }