Наследование: 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);
 }