Esempio n. 1
0
        /// <summary>
        /// Gets an enumerator for iterating over the GoLayers in this collection.
        /// </summary>
        public GoLayerCollectionEnumerator GetEnumerator()
        {
            GoLayerCollectionEnumerator result = this;

            result.Reset();
            return(result);
        }
Esempio n. 2
0
        IEnumerator <GoLayer> IEnumerable <GoLayer> .GetEnumerator()
        {
            GoLayerCollectionEnumerator goLayerCollectionEnumerator = this;

            goLayerCollectionEnumerator.Reset();
            return(goLayerCollectionEnumerator);
        }