コード例 #1
0
        public bool Equals(DestinyItemSackBlockDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DetailAction == input.DetailAction ||
                     (DetailAction != null && DetailAction.Equals(input.DetailAction))
                     ) &&
                 (
                     OpenAction == input.OpenAction ||
                     (OpenAction != null && OpenAction.Equals(input.OpenAction))
                 ) &&
                 (
                     SelectItemCount == input.SelectItemCount ||
                     (SelectItemCount.Equals(input.SelectItemCount))
                 ) &&
                 (
                     VendorSackType == input.VendorSackType ||
                     (VendorSackType != null && VendorSackType.Equals(input.VendorSackType))
                 ) &&
                 (
                     OpenOnAcquire == input.OpenOnAcquire ||
                     (OpenOnAcquire != null && OpenOnAcquire.Equals(input.OpenOnAcquire))
                 ));
        }