Log() public method

public Log ( string message ) : void
message string
return void
Exemplo n.º 1
0
        public static void Test()
        {
            var host = new HostApp();
            host.Log("Testing compiling services CS-Script Native API");
            Console.WriteLine("---------------------------------------------");

            CodeDomSamples.LoadMethod_Instance();
            CodeDomSamples.LoadMethod_Static();
            CodeDomSamples.LoadDelegate();
            CodeDomSamples.CreateAction();
            CodeDomSamples.CreateFunc();
            CodeDomSamples.LoadCode();
            CodeDomSamples.LoadCode_WithInterface(host);
            CodeDomSamples.LoadCode_WithDuckTypedInterface(host);
            CodeDomSamples.ExecuteAndUnload();
            //CodeDomSamples.DebugTest(); //uncomment if want to fire an assertion during the script execution
        }
Exemplo n.º 2
0
        public static void Test()
        {
            var host = new HostApp();

            host.Log("Testing compiling services CS-Script Native API");
            Console.WriteLine("---------------------------------------------");

            CodeDomSamples.LoadMethod_Instance();
            CodeDomSamples.LoadMethod_Static();
            CodeDomSamples.LoadDelegate();
            CodeDomSamples.CreateAction();
            CodeDomSamples.CreateFunc();
            CodeDomSamples.LoadCode();
            CodeDomSamples.LoadCode_WithInterface(host);
            CodeDomSamples.LoadCode_WithDuckTypedInterface(host);
            CodeDomSamples.ExecuteAndUnload();
            //CodeDomSamples.DebugTest(); //uncomment if want to fire an assertion during the script execution
        }