Class StacSummaryRangeObject<T>
Class representing a summary Range Object.
Inherited Members
Namespace: Stac.Collection
Assembly: DotNetStac.dll
Syntax
public class StacSummaryRangeObject<T> : StacSummaryItem, IStacSummaryItem, IEnumerable<JToken>
Type Parameters
| Name | Description |
|---|---|
| T | Type of the ordinal value that is summarized |
Constructors
| Improve this Doc View SourceStacSummaryRangeObject(T, T)
Initializes a new instance of the StacSummaryRangeObject<T> class. Initialize a Summary Range Object with a minimum and a maximum value
Declaration
public StacSummaryRangeObject(T min, T max)
Parameters
| Type | Name | Description |
|---|---|---|
| T | min | The minimum value |
| T | max | The maximum value |
StacSummaryRangeObject(JObject)
Initializes a new instance of the StacSummaryRangeObject<T> class.
Declaration
public StacSummaryRangeObject(JObject summary)
Parameters
| Type | Name | Description |
|---|---|---|
| JObject | summary | JSON Range object |
Properties
| Improve this Doc View SourceMax
Gets or sets maximum of the range
Declaration
public T Max { get; set; }
Property Value
| Type | Description |
|---|---|
| T | Maximum of the range |
Min
Gets or sets minimum of the range
Declaration
public T Min { get; set; }
Property Value
| Type | Description |
|---|---|
| T | Minimum of the range |
Methods
| Improve this Doc View SourceEnumerate()
Gets the summary item as a JToken
Declaration
public override IEnumerable<object> Enumerate()
Returns
| Type | Description |
|---|---|
| IEnumerable<System.Object> | The summary item as a JToken |
Overrides
Implements
IEnumerable<>