Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Vacation
- {
- public Vacation(Bus bus)
- {
- Bus = bus ?? throw new ArgumentNullException("bus");
- }
- public Bus Bus { get; }
- public void PrepareVacation(Mechanic mechanic)
- {
- mechanic.PrepareVacation(Bus);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement