Inheritance: System.Collections.IDictionary, System.Collections.ICollection, System.Collections.IEnumerable
Exemple #1
0
            // Constructor.
            public BaseObjectEnumerator(BaseChannelObjectWithProperties obj)
            {
                this.obj = obj;
                ICollection keys = obj.Keys;

                if (keys != null)
                {
                    enumerator = keys.GetEnumerator();
                }
                else
                {
                    enumerator = null;
                }
            }
		// Constructor.
		public BaseObjectEnumerator(BaseChannelObjectWithProperties obj)
				{
					this.obj = obj;
					ICollection keys = obj.Keys;
					if(keys != null)
					{
						enumerator = keys.GetEnumerator();
					}
					else
					{
						enumerator = null;
					}
				}