public ICollection <object> GetRecordsBy(uint StartingIndex, uint NumberOfRecords, object FilterTag) { if (StartingIndex >= ActualItemsSource.Count()) { return(new List <object>()); } List <object> result = new List <object>(); for (int i = (int)StartingIndex; i < ActualItemsSource.Count() && i < StartingIndex + NumberOfRecords; i++) { result.Add(ActualItemsSource.ElementAt(i)); } return(result.ToList <object>()); }
public uint GetTotalCount() { return((uint)ActualItemsSource.Count()); }