Esempio n. 1
0
 public void BeforeAcceptChanges(ScheduleSettings storable)
 {
     storable.CompletionDate = storable.CalculateCompletionDate();
 }
Esempio n. 2
0
 public bool CanAcceptChanges(ScheduleSettings storable)
 {
     return(storable != null && !storable.CompletionDate.HasValue &&
            storable.CheckDateRange(storable.CalculateCompletionDate()));
 }