Show / Hide Table of Contents

Class AlternateStacExtension

Helper class to access the fields defined by the Alternate extension

Inheritance
System.Object
StacPropertiesContainerExtension
AlternateStacExtension
Implements
IStacAssetExtension
IStacExtension
Inherited Members
StacPropertiesContainerExtension.Identifier
StacPropertiesContainerExtension.StacPropertiesContainer
StacPropertiesContainerExtension.IsDeclared
StacPropertiesContainerExtension.CreateRangeSummaryObject<T>(IEnumerable<T>)
StacPropertiesContainerExtension.CreateSummaryValueSet<T>(IEnumerable<T>)
StacPropertiesContainerExtension.SetProperty(String, Object)
StacPropertiesContainerExtension.RemoveProperty(String)
StacPropertiesContainerExtension.DeclareStacExtension()
StacPropertiesContainerExtension.RemoveStacExtension()
Namespace: Stac.Extensions.Alternate
Assembly: DotNetStac.dll
Syntax
public class AlternateStacExtension : StacPropertiesContainerExtension, IStacAssetExtension, IStacExtension

Fields

| Improve this Doc View Source

JsonSchemaUrl

Declaration
public const string JsonSchemaUrl = null
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

AlternateAssets

Gets or sets a dictionary of alternate location information for an asset.

Declaration
public IDictionary<string, AlternateAssetObject> AlternateAssets { get; set; }
Property Value
Type Description
IDictionary<System.String, AlternateAssetObject>

A dictionary of alternate location information for an asset.

| Improve this Doc View Source

ItemFields

Gets potential fields and their types

Declaration
public override IDictionary<string, Type> ItemFields { get; }
Property Value
Type Description
IDictionary<System.String, Type>

Potential fields and their types

Overrides
StacPropertiesContainerExtension.ItemFields
| Improve this Doc View Source

StacAsset

Gets the StacAsset.

Declaration
public StacAsset StacAsset { get; }
Property Value
Type Description
StacAsset

Methods

| Improve this Doc View Source

AddAlternate(String, Uri, String, String)

Adds an alternate asset to the AlternateAssets dictionary

Declaration
public AlternateAssetObject AddAlternate(string key, Uri uri, string title = null, string description = null)
Parameters
Type Name Description
System.String key

The key of the alternate asset

Uri uri

The uri of the alternate asset

System.String title

The title of the alternate asset

System.String description

The description of the alternate asset

Returns
Type Description
AlternateAssetObject

The alternate asset object

| Improve this Doc View Source

GetSummaryFunctions()

Get he potential summary functions for each field that can be summarized

Declaration
public override IDictionary<string, ISummaryFunction> GetSummaryFunctions()
Returns
Type Description
IDictionary<System.String, ISummaryFunction>

Dictionary of summary functions

Overrides
StacPropertiesContainerExtension.GetSummaryFunctions()

Implements

IStacAssetExtension
IStacExtension

Extension Methods

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