Inheritance: xpidea.neuro.net.patterns.NeuroObjectCollection
示例#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]);
     }
 }
示例#2
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 public NeuroNode()
 {
     InLinks = new NeuroLinkCollection();
     outLinks = new NeuroLinkCollection();
 }
示例#3
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 /// <param name="mappings">Collection to be enumerated.</param>
 public CustomNeuroLinkEnumerator(NeuroLinkCollection mappings)
 {
     temp = mappings;
     baseEnumerator = temp.GetEnumerator();
 }
示例#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]);
     }
 }
示例#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);
 }
示例#6
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 public NeuroNode()
 {
     InLinks  = new NeuroLinkCollection();
     outLinks = new NeuroLinkCollection();
 }
示例#7
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 /// <param name="mappings">Collection to be enumerated.</param>
 public CustomNeuroLinkEnumerator(NeuroLinkCollection mappings)
 {
     temp           = mappings;
     baseEnumerator = temp.GetEnumerator();
 }
示例#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);
 }