e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
18 lines
518 B
C#
18 lines
518 B
C#
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; }
|
|
}
|
|
}
|