Esempio n. 1
0
 public override void Clear()
 {
     base.Clear();
     Agency = null;
 }
Esempio n. 2
0
 public ExternalOrder(string name, DateTime date, decimal price, Agency agency)
     : base(name, date, price)
 {
     Agency = agency ?? throw new ArgumentNullException(nameof(agency)); // check null
 }