Beispiel #1
0
 public Schedule(ScheduleFileName filename,
                 ISunsetProvider sunsetProvider)
 {
     this.scheduleHelper = new ScheduleHelper(sunsetProvider);
     this.filename       = filename.FileName;
     LoadSchedule();
 }
Beispiel #2
0
 public Schedule(string filename, ISunsetProvider sunsetProvider)
 {
     this.scheduleHelper = new ScheduleHelper(sunsetProvider);
     this.filename       = filename;
     LoadSchedule();
 }
Beispiel #3
0
 public CachingSunsetProvider(ISunsetProvider wrappedSunsetProvider)
 {
     wrappedProvider = wrappedSunsetProvider;
 }
 public ScheduleHelper(ISunsetProvider sunsetProvider)
 {
     this.SunsetProvider = sunsetProvider;
 }