Beispiel #1
0
        public WeeeDeliveredAmount(ObligationType obligationType, WeeeCategory weeeCategory, decimal tonnage, AeDeliveryLocation aeDeliveryLocation) :
            base(obligationType, weeeCategory, tonnage)
        {
            Guard.ArgumentNotNull(() => aeDeliveryLocation, aeDeliveryLocation);

            AeDeliveryLocation = aeDeliveryLocation;
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int baseHash = base.GetHashCode();

            return(IsAatfDeliveredAmount ? baseHash ^ AatfDeliveryLocation.GetHashCode() : baseHash ^ AeDeliveryLocation.GetHashCode());
        }