Exemplo n.º 1
0
 public VacationDateConstraint(Vacation vacation)
 {
     Vacation = vacation;
 }
Exemplo n.º 2
0
 public void RemoveVacationConstraint(Vacation vacation)
 {
     //removes all constraints based on given vacation
     NotAvailableConstraints.RemoveAll(c => c is VacationDateConstraint && ((VacationDateConstraint)c).Vacation == vacation);
 }