Class StacSummaryValueSet<T>
Class representing a summary value set
Inherited Members
Namespace: Stac.Collection
Assembly: DotNetStac.dll
Syntax
public class StacSummaryValueSet<T> : StacSummaryItem, IStacSummaryItem, IEnumerable<JToken>, IEnumerable<T>
Type Parameters
Name | Description |
---|---|
T | Type of the value that is summarized |
Constructors
| Improve this Doc View SourceStacSummaryValueSet()
Initializes a new instance of the StacSummaryValueSet<T> class.
Declaration
public StacSummaryValueSet()
StacSummaryValueSet(IEnumerable<T>)
Initializes a new instance of the StacSummaryValueSet<T> class. Initialize a Summary Value Set with a set of values
Declaration
public StacSummaryValueSet(IEnumerable<T> summarySet)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | summarySet | set of values |
StacSummaryValueSet(JArray)
Initializes a new instance of the StacSummaryValueSet<T> class. Initialize a Summary Value Set with a JSON array
Declaration
public StacSummaryValueSet(JArray summarySet)
Parameters
Type | Name | Description |
---|---|---|
JArray | summarySet | JSON Array |
Properties
| Improve this Doc View SourceCount
Gets summary Value Set total of items
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Summary Value Set total of items |
SummarySet
Gets get the Summary Value Set as an enumerable
Declaration
public IEnumerable<T> SummarySet { get; }
Property Value
Type | Description |
---|---|
IEnumerable<T> | Get the Summary Value Set as an enumerable |
Methods
| Improve this Doc View SourceAdd(T)
Add a value item in the Summary Value Set
Declaration
public void Add(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | value item |
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
Implements
IEnumerable<>
IEnumerable<>