Beispiel #1
0
        /// <summary>
        /// Gets an enumerator for iterating over the IGoLinks connected to this port.
        /// </summary>
        public GoPortLinkEnumerator GetEnumerator()
        {
            GoPortLinkEnumerator result = this;

            result.Reset();
            return(result);
        }
Beispiel #2
0
        IEnumerator IEnumerable.GetEnumerator()
        {
            GoPortLinkEnumerator goPortLinkEnumerator = this;

            goPortLinkEnumerator.Reset();
            return(goPortLinkEnumerator);
        }
Beispiel #3
0
        IEnumerator <IGoLink> IEnumerable <IGoLink> .GetEnumerator()
        {
            GoPortLinkEnumerator goPortLinkEnumerator = this;

            goPortLinkEnumerator.Reset();
            return(goPortLinkEnumerator);
        }