Ejemplo n.º 1
0
        public void Run(IEventListener listener)
        {
            if (_domain == null)
            {
                Load();
            }
            var thread = new Thread(() => { _inner.Run(listener); });

            thread.Start();
        }
Ejemplo n.º 2
0
 public void StartInstance()
 {
     try
     {
         _log.Log(LogCatagory.Info, "Starting service runner...");
         _serviceRunner.Run();
         _log.Log(LogCatagory.Info, "Service runner started");
     }
     catch (Exception e)
     {
         _log.Log(LogCatagory.Error, e, String.Format("ServiceInstance caught an unexpected exception on start."));
     }
 }