Class StacSummaryItem
Base abstract class for a summary item
Namespace: Stac.Collection
Assembly: DotNetStac.dll
Syntax
public abstract class StacSummaryItem : object, IStacSummaryItem, IEnumerable<JToken>
Constructors
| Improve this Doc View SourceStacSummaryItem(JToken)
Initializes a new instance of the StacSummaryItem class.
Declaration
protected StacSummaryItem(JToken summary)
Parameters
| Type | Name | Description |
|---|---|---|
| JToken | summary | The summary. |
Properties
| Improve this Doc View SourceAsJToken
Gets jToken transformer
Declaration
public JToken AsJToken { get; }
Property Value
| Type | Description |
|---|---|
| JToken | JToken transformer |
Item[Object]
accessor of fields in the object
Declaration
public JToken this[object key] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | key | key of the field |
Property Value
| Type | Description |
|---|---|
| JToken |
Methods
| Improve this Doc View SourceEnumerate()
Gets the summary item as a JToken
Declaration
public abstract IEnumerable<object> Enumerate()
Returns
| Type | Description |
|---|---|
| IEnumerable<System.Object> | The summary item as a JToken |
GetEnumerator()
Get Enumerator of object children
Declaration
public IEnumerator GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator | Enumerator of object children |
Implements
IEnumerable<>