コード例 #1
0
 public void BeforeAcceptChanges(ScheduleSettings storable)
 {
     storable.CompletionDate = storable.CalculateCompletionDate();
 }
コード例 #2
0
 public bool CanAcceptChanges(ScheduleSettings storable)
 {
     return(storable != null && !storable.CompletionDate.HasValue &&
            storable.CheckDateRange(storable.CalculateCompletionDate()));
 }