/// <summary> /// Removes the specified category. /// </summary> /// <param name="category">Category that gets removed.</param> public override void RemoveCategory(ICategory category) { if (category is IColorCategory cc) { _categories.Remove(cc); } }
/// <summary> /// Removes the specified category /// </summary> /// <param name="category"></param> public override void RemoveCategory(ICategory category) { IColorCategory cc = category as IColorCategory; if (cc != null) { _categories.Remove(cc); } }