Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int baseHash = base.GetHashCode();

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