return Elements[Index++];
}
+ public T GetCurrentItem()
+ {
+ return Elements[Index];
+ }
+
public T[] GetItems(int Count)
{
if (Elements.Count - Index < Count)
return result;
}
+ public T[] GetCurrentItems(int Count)
+ {
+ if (Elements.Count - Index < Count)
+ {
+ throw new WrappedListException("Unable to read requested amount of data.");
+ }
+
+ T[] result = Elements.Skip<T>(Index).Take<T>(Count).ToArray<T>();
+
+ return result;
+ }
+
public IEnumerable<T> GetEnumerableItems(int Count)
{
if (Elements.Count - Index < Count)