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