예제 #1
0
        public bool Equals(DestinyPublicVendorsResponse input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     VendorGroups == input.VendorGroups ||
                     (VendorGroups != null && VendorGroups.Equals(input.VendorGroups))
                     ) &&
                 (
                     Vendors == input.Vendors ||
                     (Vendors != null && Vendors.Equals(input.Vendors))
                 ) &&
                 (
                     Categories == input.Categories ||
                     (Categories != null && Categories.Equals(input.Categories))
                 ) &&
                 (
                     Sales == input.Sales ||
                     (Sales != null && Sales.Equals(input.Sales))
                 ) &&
                 (
                     StringVariables == input.StringVariables ||
                     (StringVariables != null && StringVariables.Equals(input.StringVariables))
                 ));
        }
예제 #2
0
        public bool Equals(DestinyVendorsResponse input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     VendorGroups == input.VendorGroups ||
                     (VendorGroups != null && VendorGroups.Equals(input.VendorGroups))
                     ) &&
                 (
                     Vendors == input.Vendors ||
                     (Vendors != null && Vendors.Equals(input.Vendors))
                 ) &&
                 (
                     Categories == input.Categories ||
                     (Categories != null && Categories.Equals(input.Categories))
                 ) &&
                 (
                     Sales == input.Sales ||
                     (Sales != null && Sales.Equals(input.Sales))
                 ) &&
                 (
                     ItemComponents == input.ItemComponents ||
                     (ItemComponents != null && ItemComponents.SequenceEqual(input.ItemComponents))
                 ) &&
                 (
                     CurrencyLookups == input.CurrencyLookups ||
                     (CurrencyLookups != null && CurrencyLookups.Equals(input.CurrencyLookups))
                 ) &&
                 (
                     StringVariables == input.StringVariables ||
                     (StringVariables != null && StringVariables.Equals(input.StringVariables))
                 ));
        }