-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDimensionRole.cs
More file actions
26 lines (22 loc) · 882 Bytes
/
Copy pathDimensionRole.cs
File metadata and controls
26 lines (22 loc) · 882 Bytes
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
namespace JSONstat.Models;
/// <summary>
/// The role of a dimension, as resolved by the library.
/// </summary>
/// <remarks>
/// The on-the-wire <c>role</c> object only knows <c>time</c>, <c>geo</c> and
/// <c>metric</c>. <see cref="Classification"/> is a JavaScript-Toolkit
/// convention used for dimensions the format leaves unroled; it is exposed on
/// the API surface but is never written to the wire (see
/// <c>../wiki/dimensions.md</c>).
/// </remarks>
public enum DimensionRole
{
/// <summary>Temporal dimension (listed under <c>role.time</c>).</summary>
Time,
/// <summary>Geographic dimension (listed under <c>role.geo</c>).</summary>
Geo,
/// <summary>Metric/measure dimension (listed under <c>role.metric</c>).</summary>
Metric,
/// <summary>A dimension with no role assigned (Toolkit convention only).</summary>
Classification
}