Ejemplo n.º 1
0
 internal void RemoveCategory(ProfileCategory profileCategory)
 {
     ProfileCategories.Remove(profileCategory);
     if (profileCategory.SubLabel != null)
     {
         dictionaryCategoriesBySubLabel.Remove(profileCategory.SubLabel);
     }
 }
Ejemplo n.º 2
0
 internal void AddCategory(ProfileCategory profileCategory)
 {
     ProfileCategories.Add(profileCategory);
     dictionaryCategoriesBySubLabel[profileCategory.SubLabel] = profileCategory;
 }