public Dynasty(IFileSystem file, ILogWrapper logWrapper, IGeneManagerFactory managerFactory) { _file = file; _logWrapper = logWrapper; _managerFactory = managerFactory; _queue = new FixedSizeQueue <string>(2); _current = null; _instance = this; }
static void Main(string[] args) { try { batcher = new Dynasty(); batcher.Optimize(); Console.ReadLine(); } catch (Exception ex) { Logger.Error(ex); } }
static void Main(string[] args) { try { AppDomain.CurrentDomain.ProcessExit += new EventHandler(CurrentDomain_ProcessExit); batcher = new Dynasty(); batcher.Optimize(); Console.ReadLine(); } catch (Exception ex) { Logger.Error(ex); } }