Beispiel #1
0
        public bool MoveNext()
        {
            var nextObject = IOIteratorStatic.IOIteratorNext(Handle);

            Current = (nextObject == IntPtr.Zero) ? null : IOObject.MarshalNativeObject <T> (nextObject, true);
            if (!IOIteratorStatic.IOIteratorIsValid(Handle))
            {
                throw new InvalidOperationException();
            }
            return(Current != null);
        }
Beispiel #2
0
 public void Reset()
 {
     IOIteratorStatic.IOIteratorReset(Handle);
 }