Esempio n. 1
0
        public static void StartEngine()
        {
            // Initialize the plug, through what we will communicate with the engine
            _thePlug = new WindowsRTPlug();
            Plug.Init(_thePlug);

            // Run the engine in async mode
            Windows.Foundation.IAsyncAction action = Windows.System.Threading.ThreadPool.RunAsync(delegate { new Engine().Run(new string[] { }); }, WorkItemPriority.Normal);
        }
Esempio n. 2
0
        public static void StartEngine()
        {
            // Initialize the plug, through what we will communicate with the engine
            _thePlug = new WindowsRTPlug();
            Plug.Init(_thePlug);

            // Run the engine in async mode
            Windows.Foundation.IAsyncAction action = Windows.System.Threading.ThreadPool.RunAsync(delegate { new Engine().Run(new string[] { }); }, WorkItemPriority.Normal);
        }