Show / Hide Table of Contents

Class VersionStacExtensionExtensions

Extension methods for accessing EO extension

Inheritance
System.Object
VersionStacExtensionExtensions
Namespace: Stac.Extensions.Version
Assembly: DotNetStac.dll
Syntax
public static class VersionStacExtensionExtensions : object

Methods

| Improve this Doc View Source

LatestVersion(StacCollection, Func<StacLink, StacCollection>)

Retrieve the latest version of the Stac Collection if any

Declaration
public static StacCollection LatestVersion(this StacCollection stacCollection, Func<StacLink, StacCollection> stacLinkResolver)
Parameters
Type Name Description
StacCollection stacCollection

current Stac Collection

Func<StacLink, StacCollection> stacLinkResolver

Function that read a Stac Link to get the StacItem

Returns
Type Description
StacCollection

null if no latest version

| Improve this Doc View Source

LatestVersion(StacItem, Func<StacLink, StacItem>)

Retrieve the latest version of the Stac Item if any

Declaration
public static StacItem LatestVersion(this StacItem stacItem, Func<StacLink, StacItem> stacLinkResolver)
Parameters
Type Name Description
StacItem stacItem

current Stac Item

Func<StacLink, StacItem> stacLinkResolver

Function that read a Stac Link to get the StacItem

Returns
Type Description
StacItem

null if no latest version

| Improve this Doc View Source

PredecessorVersion(StacCollection, Func<StacLink, StacCollection>)

Retrieve the predecessor version of the Stac Collection if any

Declaration
public static StacCollection PredecessorVersion(this StacCollection stacCollection, Func<StacLink, StacCollection> stacLinkResolver)
Parameters
Type Name Description
StacCollection stacCollection

current Stac Collection

Func<StacLink, StacCollection> stacLinkResolver

Function that read a Stac Link to get the StacItem

Returns
Type Description
StacCollection

null if no precedessor version

| Improve this Doc View Source

PredecessorVersion(StacItem, Func<StacLink, StacItem>)

Retrieve the predecessor version of the Stac Item if any

Declaration
public static StacItem PredecessorVersion(this StacItem stacItem, Func<StacLink, StacItem> stacLinkResolver)
Parameters
Type Name Description
StacItem stacItem

current Stac Item

Func<StacLink, StacItem> stacLinkResolver

Function that read a Stac Link to get the StacItem

Returns
Type Description
StacItem

null if no precedessor version

| Improve this Doc View Source

SuccessorVersion(StacCollection, Func<StacLink, StacCollection>)

Retrieve the successor version of the Stac Collection if any

Declaration
public static StacCollection SuccessorVersion(this StacCollection stacCollection, Func<StacLink, StacCollection> stacLinkResolver)
Parameters
Type Name Description
StacCollection stacCollection

current Stac Collection

Func<StacLink, StacCollection> stacLinkResolver

Function that read a Stac Link to get the StacItem

Returns
Type Description
StacCollection

null if no successor version

| Improve this Doc View Source

SuccessorVersion(StacItem, Func<StacLink, StacItem>)

Retrieve the successor version of the Stac Item if any

Declaration
public static StacItem SuccessorVersion(this StacItem stacItem, Func<StacLink, StacItem> stacLinkResolver)
Parameters
Type Name Description
StacItem stacItem

current Stac Item

Func<StacLink, StacItem> stacLinkResolver

Function that read a Stac Link to get the StacItem

Returns
Type Description
StacItem

null if no successor version

| Improve this Doc View Source

VersionExtension(StacCollection)

Initilize a VersionStacExtension class from a STAC collection

Declaration
public static VersionStacExtension VersionExtension(this StacCollection stacCollection)
Parameters
Type Name Description
StacCollection stacCollection

The STAC collection

Returns
Type Description
VersionStacExtension

The VersionStacExtension class

| Improve this Doc View Source

VersionExtension(StacItem)

Initilize a VersionStacExtension class from a STAC item

Declaration
public static VersionStacExtension VersionExtension(this StacItem stacItem)
Parameters
Type Name Description
StacItem stacItem

The STAC item

Returns
Type Description
VersionStacExtension

The VersionStacExtension class

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX