Exemple #1
0
 private CustomerStatus(CustomerStatusType type, ExpirationDate expirationDate)
     : this()
 {
     Type            = type;
     _expirationDate = expirationDate ?? throw new ArgumentNullException(nameof(expirationDate));
 }
Exemple #2
0
 protected bool EqualsCore(ExpirationDate other)
 {
     return(Date == other.Date);
 }