示例#1
0
        //Workflows
        [Test] public void O2Proxy()
        {
            var o2Proxy = new O2Proxy();

            o2Proxy.ToString().assert_Is(o2Proxy.nameOfCurrentDomain());
        }
        public void SetUp()
        {
            apiCassini.url().GET().assert_Contains("TeamMentor");                           // make one request so that TM Startup is invoked

            o2Proxy = apiCassini.appDomain().o2Proxy().assert_Not_Null();                   // get a reference to the O2Proxy object
        }
 public static O2Proxy executeScript(this O2Proxy o2Proxy, string scriptToExecute)
 {
     o2Proxy.staticInvocation("O2_External_SharpDevelop", "FastCompiler_ExtensionMethods", "executeSourceCode", new object[] { scriptToExecute });
     return(o2Proxy);
 }
示例#4
0
文件: TM_Proxy.cs 项目: rbg13/Master
 public TM_Proxy(API_Cassini apiCassini)
 {
     this.apiCassini = apiCassini;
     o2Proxy         = apiCassini.appDomain().o2Proxy();
 }
 public static List <string> assemblies(this O2Proxy o2Proxy)
 {
     return((o2Proxy.notNull())
               ? o2Proxy.getAssemblies()
               : new List <string>());
 }