public bool DeepEquals(DestinyItemCategoryDefinition other)
 {
     return(other != null &&
            Deprecated == other.Deprecated &&
            DisplayProperties.DeepEquals(other.DisplayProperties) &&
            GrantDestinyBreakerType == other.GrantDestinyBreakerType &&
            GrantDestinyClass == other.GrantDestinyClass &&
            GrantDestinyItemType == other.GrantDestinyItemType &&
            GrantDestinySubType == other.GrantDestinySubType &&
            GroupCategoryOnly == other.GroupCategoryOnly &&
            GroupedCategories.DeepEqualsReadOnlyCollections(other.GroupedCategories) &&
            IsPlug == other.IsPlug &&
            ItemTypeRegex == other.ItemTypeRegex &&
            ParentCategories.DeepEqualsReadOnlyCollections(other.ParentCategories) &&
            ShortTitle == other.ShortTitle &&
            Visible == other.Visible &&
            PlugCategoryIdentifier == other.PlugCategoryIdentifier &&
            ItemTypeRegexNot == other.ItemTypeRegexNot &&
            OriginBucketIdentifier == other.OriginBucketIdentifier &&
            TraitId == other.TraitId &&
            Blacklisted == other.Blacklisted &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }
Exemple #2
0
 //By Johann
 /// <summary>
 /// Loads the parent categories into the BindableCollection
 /// </summary>
 private void LoadParentCategories()
 {
     ParentCategories.Clear();
     ParentCategories.AddRange(Category.GetCategoriesByParent(null));
 }
Exemple #3
0
 public bool HasTag(string tag)
 {
     return(ParentCategories.Contains(tag));
 }