Example #1
0
        public override int GetHashCode()
        {
            int baseHash = base.GetHashCode();

            return(IsAatfDeliveredAmount ? baseHash ^ AatfDeliveryLocation.GetHashCode() : baseHash ^ AeDeliveryLocation.GetHashCode());
        }
Example #2
0
 public WeeeDeliveredAmount(ObligationType obligationType, WeeeCategory weeeCategory, decimal tonnage, AatfDeliveryLocation aatfDeliveryLocation) :
     base(obligationType, weeeCategory, tonnage)
 {
     Guard.ArgumentNotNull(() => aatfDeliveryLocation, aatfDeliveryLocation);
     AatfDeliveryLocation = aatfDeliveryLocation;
 }