Show / Hide Table of Contents

Class StacSummaryRangeObject<T>

Class representing a summary Range Object.

Inheritance
System.Object
StacSummaryItem
StacSummaryRangeObject<T>
Implements
IStacSummaryItem
IEnumerable<JToken>
Inherited Members
StacSummaryItem.AsJToken
StacSummaryItem.Item[Object]
StacSummaryItem.GetEnumerator()
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 Source

StacSummaryRangeObject(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

| Improve this Doc View Source

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 Source

Max

Gets or sets maximum of the range

Declaration
public T Max { get; set; }
Property Value
Type Description
T

Maximum of the range

| Improve this Doc View Source

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 Source

Enumerate()

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
StacSummaryItem.Enumerate()

Implements

IStacSummaryItem
IEnumerable<>

Extension Methods

StacAccessorsHelpers.ToStringByAttributes(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX