public void Run(IEventListener listener) { if (_domain == null) { Load(); } var thread = new Thread(() => { _inner.Run(listener); }); thread.Start(); }
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.")); } }