Пример #1
0
 protected internal BaseCard(double turnover, CardHolder cardHolder)
 {
     Turnover = turnover;
 }
Пример #2
0
 public GoldCard(double turnover, CardHolder cardHolder) : base(turnover, cardHolder)
 {
     CardHolder = cardHolder == null ? throw new NullReferenceException() : cardHolder;
 }
Пример #3
0
 protected CardHolder(CardHolder cardHolder)
 {
     FirstName = cardHolder.FirstName;
     LastName  = cardHolder.LastName;
 }