Пример #1
0
        /// <summary>
        /// Remove any alpha id or range which matches <paramref name="range"/>.
        /// </summary>
        /// <param name="range">value to remove.</param>
        public void Delete(string range)
        {
            this.AlphaIds.Remove(range);

            int index = this.Bounds.Count;

            while (--index > 0)
            {
                GroupBoundsType element = this.Bounds.ElementAt(index);
                if (string.Compare(element.ToString(), range) == 0)
                {
                    this.DeleteBound(element);
                }
            }
        }
Пример #2
0
 /// <summary>
 /// Remove the argument value.
 /// </summary>
 /// <param name="boundToRemove">value to remove</param>
 public void DeleteBound(GroupBoundsType boundToRemove)
 {
     this.Bounds.Remove(boundToRemove);
     this.RaisePropertyChangedEvent("Bounds");
 }