/// <summary> /// Removes the specified category. /// </summary> /// <param name="category">The category to insert.</param> public override void RemoveCategory(ICategory category) { if (category is IPointCategory pc) { _categories.Remove(pc); } }
/// <summary> /// Removes the specified category. /// </summary> /// <param name="category">The category to insert.</param> public override void RemoveCategory(ICategory category) { IPointCategory pc = category as IPointCategory; if (pc != null) { _categories.Remove(pc); } }