public Object Clone()
                {
                    // We must clone the underlying enumerator, I think.
                    IListWrapperEnumWrapper clone = new IListWrapperEnumWrapper();

                    clone._en = (IEnumerator)((ICloneable)_en).Clone();
                    clone._initialStartIndex = _initialStartIndex;
                    clone._initialCount      = _initialCount;
                    clone._remaining         = _remaining;
                    clone._firstCall         = _firstCall;
                    return(clone);
                }
 public Object Clone() {
     // We must clone the underlying enumerator, I think.
     IListWrapperEnumWrapper clone = new IListWrapperEnumWrapper();
     clone._en = (IEnumerator) ((ICloneable)_en).Clone();
     clone._initialStartIndex = _initialStartIndex;
     clone._initialCount = _initialCount;
     clone._remaining = _remaining;
     clone._firstCall = _firstCall;
     return clone;
 }
Beispiel #3
0
 public object Clone()
 {
     var clone = new IListWrapperEnumWrapper();
     clone._en = (IEnumerator)((ICloneable)_en).Clone();
     clone._initialStartIndex = _initialStartIndex;
     clone._initialCount = _initialCount;
     clone._remaining = _remaining;
     clone._firstCall = _firstCall;
     return clone;
 }