Exemplo n.º 1
0
 public Dynasty(IFileSystem file, ILogWrapper logWrapper, IGeneManagerFactory managerFactory)
 {
     _file           = file;
     _logWrapper     = logWrapper;
     _managerFactory = managerFactory;
     _queue          = new FixedSizeQueue <string>(2);
     _current        = null;
     _instance       = this;
 }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     try
     {
         batcher = new Dynasty();
         batcher.Optimize();
         Console.ReadLine();
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
     }
 }
Exemplo n.º 3
0
 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);
     }
 }