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);
     }
 }
Esempio 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);
     }
 }