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