Ejemplo n.º 1
0
 public Enumerator(DoubleCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the DoubleCollection class, containing elements
 /// copied from another instance of DoubleCollection
 /// </summary>
 /// <param name="items">
 /// The DoubleCollection whose elements are to be added to the new DoubleCollection.
 /// </param>
 public DoubleCollection(DoubleCollection items)
 {
     this.AddRange(items);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Adds an element with the specified key and value to this VertexDoublesDictionary.
 /// </summary>
 /// <param name="key">
 /// The IVertex key of the element to add.
 /// </param>
 /// <param name="value">
 /// The DoubleCollection value of the element to add.
 /// </param>
 public virtual void Add(IVertex key, DoubleCollection value)
 {
     this.Dictionary.Add(key, value);
 }