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));
     }
 }
Пример #2
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));
     }
 }