/// <summary> /// Determines whether this EdgePointFCollectionDictionary contains a specific value. /// </summary> /// <param name="value"> /// The PointFCollection value to locate in this EdgePointFCollectionDictionary. /// </param> /// <returns> /// true if this EdgePointFCollectionDictionary contains an element with the specified value; /// otherwise, false. /// </returns> public bool ContainsValue(PointFCollection value) { foreach (PointFCollection item in this.Dictionary.Values) { if (item == value) { return(true); } } return(false); }
/// <summary> /// Adds an element with the specified key and value to this EdgePointFCollectionDictionary. /// </summary> /// <param name="key"> /// The IEdge key of the element to add. /// </param> /// <param name="value"> /// The PointFCollection value of the element to add. /// </param> public void Add(IEdge key, PointFCollection value) { this.Dictionary.Add(key, value); }
/// <summary> /// Determines whether this EdgePointFCollectionDictionary contains a specific value. /// </summary> /// <param name="value"> /// The PointFCollection value to locate in this EdgePointFCollectionDictionary. /// </param> /// <returns> /// true if this EdgePointFCollectionDictionary contains an element with the specified value; /// otherwise, false. /// </returns> public bool ContainsValue(PointFCollection value) { foreach (PointFCollection item in this.Dictionary.Values) { if (item == value) return true; } return false; }
/// <summary> /// Adds an element with the specified key and value to this EdgePointFCollectionDictionary. /// </summary> /// <param name="key"> /// The IEdge key of the element to add. /// </param> /// <param name="value"> /// The PointFCollection value of the element to add. /// </param> public void Add(IEdge key, PointFCollection value) { this.Dictionary.Add(key, value); }