File: UI\WebControls\SelectResult.cs
Project: ndp\fx\src\xsp\system\Web\System.Web.csproj (System.Web)
using System.Collections;
 
namespace System.Web.UI.WebControls {
    public sealed class SelectResult {
        public SelectResult(int totalRowCount, IEnumerable results) {
            if (totalRowCount < 0) {
                throw new ArgumentOutOfRangeException("totalRowCount");
            }
            
            TotalRowCount = totalRowCount;
            Results = results;
        }
 
        public int TotalRowCount { get; private set; }
        public IEnumerable Results { get; private set; }
    }
}