-
Notifications
You must be signed in to change notification settings - Fork 131
/
Copy pathLoadResult.cs
39 lines (33 loc) · 1.17 KB
/
LoadResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
namespace DevExtreme.AspNet.Data.ResponseModel {
/// <summary>
/// Represents a load result.
/// </summary>
public class LoadResult {
/// <summary>
/// A resulting dataset.
/// </summary>
public IEnumerable data { get; set; }
/// <summary>
/// The total number of data objects in the resulting dataset.
/// </summary>
[DefaultValue(-1), JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public int totalCount { get; set; } = -1;
/// <summary>
/// The number of top-level groups in the resulting dataset.
/// </summary>
[DefaultValue(-1), JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public int groupCount { get; set; } = -1;
/// <summary>
/// Total summary calculation results.
/// </summary>
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public object[] summary { get; set; }
}
}