Beispiel #1
0
 public Assignment(Person person, int day, Shift shift)
 {
     Person = person ?? throw new ArgumentNullException(nameof(person));
     Day    = day;
     Shift  = shift ?? throw new ArgumentNullException(nameof(shift));
 }
Beispiel #2
0
 public Demand(int day, Shift shift, int requiredPeopleCount)
 {
     Day   = day;
     Shift = shift ?? throw new ArgumentNullException(nameof(shift));
     RequiredPeopleCount = requiredPeopleCount;
 }