Inheritance: xpidea.neuro.net.patterns.NeuroObjectCollection
Ejemplo n.º 1
0
 /// <summary>
 ///     <para>
 ///         Adds the contents of another <see cref="xpidea.neuro.net.NeuroLinkCollection" /> to the end of the collection.
 ///     </para>
 /// </summary>
 /// <param name="value">
 ///     A <see cref="xpidea.neuro.net.NeuroLinkCollection" /> containing the objects to add to the collection.
 /// </param>
 /// <seealso cref="xpidea.neuro.net.NeuroLinkCollection.Add" />
 public void AddRange(NeuroLinkCollection value)
 {
     for (var i = 0; (i < value.Count); i = (i + 1))
     {
         Add(value[i]);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 public NeuroNode()
 {
     InLinks = new NeuroLinkCollection();
     outLinks = new NeuroLinkCollection();
 }
Ejemplo n.º 3
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 /// <param name="mappings">Collection to be enumerated.</param>
 public CustomNeuroLinkEnumerator(NeuroLinkCollection mappings)
 {
     temp = mappings;
     baseEnumerator = temp.GetEnumerator();
 }
Ejemplo n.º 4
0
 /// <summary>
 ///     <para>
 ///         Adds the contents of another <see cref="xpidea.neuro.net.NeuroLinkCollection" /> to the end of the collection.
 ///     </para>
 /// </summary>
 /// <param name="value">
 ///     A <see cref="xpidea.neuro.net.NeuroLinkCollection" /> containing the objects to add to the collection.
 /// </param>
 /// <seealso cref="xpidea.neuro.net.NeuroLinkCollection.Add" />
 public void AddRange(NeuroLinkCollection value)
 {
     for (var i = 0; (i < value.Count); i = (i + 1))
     {
         Add(value[i]);
     }
 }
Ejemplo n.º 5
0
 /// <summary>
 ///     <para>
 ///         Initializes a new instance of <see cref='xpidea.neuro.net.NeuroLinkCollection' /> based on another
 ///         <see cref='xpidea.neuro.net.NeuroLinkCollection' />.
 ///     </para>
 /// </summary>
 /// <param name='value'>
 ///     A <see cref='xpidea.neuro.net.NeuroLinkCollection' /> from which the contents are copied
 /// </param>
 public NeuroLinkCollection(NeuroLinkCollection value)
 {
     AddRange(value);
 }
Ejemplo n.º 6
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 public NeuroNode()
 {
     InLinks  = new NeuroLinkCollection();
     outLinks = new NeuroLinkCollection();
 }
Ejemplo n.º 7
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 /// <param name="mappings">Collection to be enumerated.</param>
 public CustomNeuroLinkEnumerator(NeuroLinkCollection mappings)
 {
     temp           = mappings;
     baseEnumerator = temp.GetEnumerator();
 }
Ejemplo n.º 8
0
 /// <summary>
 ///     <para>
 ///         Initializes a new instance of <see cref='xpidea.neuro.net.NeuroLinkCollection' /> based on another
 ///         <see cref='xpidea.neuro.net.NeuroLinkCollection' />.
 ///     </para>
 /// </summary>
 /// <param name='value'>
 ///     A <see cref='xpidea.neuro.net.NeuroLinkCollection' /> from which the contents are copied
 /// </param>
 public NeuroLinkCollection(NeuroLinkCollection value)
 {
     AddRange(value);
 }