public TimeScheduleWorkflowManager()
 {
     try
     {
         ConfigurationSetting.Initialize();
         strategryFactory = new StrategyFactory();
         timeSchedule = new TimeSchedule(strategryFactory.Create());
         timeSchedule.LoadRequests(ConfigurationSetting.InputFile);
     }
     catch (Exception ex)
     {
         Console.WriteLine(UNEXPECTEDFAILURE);
         Console.WriteLine(ex);
     }
 }
Ejemplo n.º 2
0
 public TimeScheduleWorkflowManager()
 {
     try
     {
         ConfigurationSetting.Initialize();
         strategryFactory = new StrategyFactory();
         timeSchedule     = new TimeSchedule(strategryFactory.Create());
         timeSchedule.LoadRequests(ConfigurationSetting.InputFile);
     }
     catch (Exception ex)
     {
         Console.WriteLine(UNEXPECTEDFAILURE);
         Console.WriteLine(ex);
     }
 }