public void Update(DestinyPublicVendorsResponse?other)
 {
     if (other is null)
     {
         return;
     }
     if (!VendorGroups.DeepEquals(other.VendorGroups))
     {
         VendorGroups.Update(other.VendorGroups);
         OnPropertyChanged(nameof(VendorGroups));
     }
     if (!Vendors.DeepEquals(other.Vendors))
     {
         Vendors.Update(other.Vendors);
         OnPropertyChanged(nameof(Vendors));
     }
     if (!Categories.DeepEquals(other.Categories))
     {
         Categories.Update(other.Categories);
         OnPropertyChanged(nameof(Categories));
     }
     if (!Sales.DeepEquals(other.Sales))
     {
         Sales.Update(other.Sales);
         OnPropertyChanged(nameof(Sales));
     }
     if (!StringVariables.DeepEquals(other.StringVariables))
     {
         StringVariables.Update(other.StringVariables);
         OnPropertyChanged(nameof(StringVariables));
     }
 }
 public bool DeepEquals(DestinyPublicVendorsResponse?other)
 {
     return(other is not null &&
            (VendorGroups is not null ? VendorGroups.DeepEquals(other.VendorGroups) : other.VendorGroups is null) &&
            (Vendors is not null ? Vendors.DeepEquals(other.Vendors) : other.Vendors is null) &&
            (Categories is not null ? Categories.DeepEquals(other.Categories) : other.Categories is null) &&
            (Sales is not null ? Sales.DeepEquals(other.Sales) : other.Sales is null) &&
            (StringVariables is not null ? StringVariables.DeepEquals(other.StringVariables) : other.StringVariables is null));
 }
Beispiel #3
0
 public bool DeepEquals(DestinyVendorsResponse?other)
 {
     return(other is not null &&
            (VendorGroups is not null ? VendorGroups.DeepEquals(other.VendorGroups) : other.VendorGroups is null) &&
            (Vendors is not null ? Vendors.DeepEquals(other.Vendors) : other.Vendors is null) &&
            (Categories is not null ? Categories.DeepEquals(other.Categories) : other.Categories is null) &&
            (Sales is not null ? Sales.DeepEquals(other.Sales) : other.Sales is null) &&
            ItemComponents.DeepEqualsDictionary(other.ItemComponents) &&
            (CurrencyLookups is not null ? CurrencyLookups.DeepEquals(other.CurrencyLookups) : other.CurrencyLookups is null) &&
            (StringVariables is not null ? StringVariables.DeepEquals(other.StringVariables) : other.StringVariables is null));
 }
Beispiel #4
0
 public void Update(DestinyVendorsResponse?other)
 {
     if (other is null)
     {
         return;
     }
     if (!VendorGroups.DeepEquals(other.VendorGroups))
     {
         VendorGroups.Update(other.VendorGroups);
         OnPropertyChanged(nameof(VendorGroups));
     }
     if (!Vendors.DeepEquals(other.Vendors))
     {
         Vendors.Update(other.Vendors);
         OnPropertyChanged(nameof(Vendors));
     }
     if (!Categories.DeepEquals(other.Categories))
     {
         Categories.Update(other.Categories);
         OnPropertyChanged(nameof(Categories));
     }
     if (!Sales.DeepEquals(other.Sales))
     {
         Sales.Update(other.Sales);
         OnPropertyChanged(nameof(Sales));
     }
     if (!ItemComponents.DeepEqualsDictionary(other.ItemComponents))
     {
         ItemComponents = other.ItemComponents;
         OnPropertyChanged(nameof(ItemComponents));
     }
     if (!CurrencyLookups.DeepEquals(other.CurrencyLookups))
     {
         CurrencyLookups.Update(other.CurrencyLookups);
         OnPropertyChanged(nameof(CurrencyLookups));
     }
     if (!StringVariables.DeepEquals(other.StringVariables))
     {
         StringVariables.Update(other.StringVariables);
         OnPropertyChanged(nameof(StringVariables));
     }
 }