Show / Hide Table of Contents

Class VirtualAsset

The virtual asset object is an extension of the core asset object for the Virtual Assets extension

Inheritance
System.Object
StacAsset
VirtualAsset
Implements
IStacPropertiesContainer
Inherited Members
StacAsset.MediaType
StacAsset.Roles
StacAsset.Title
StacAsset.Description
StacAsset.Properties
StacAsset.StacObjectContainer
StacAsset.ParentStacObject
StacAsset.CreateThumbnailAsset(IStacObject, Uri, ContentType, String)
StacAsset.CreateOverviewAsset(IStacObject, Uri, ContentType, String)
StacAsset.CreateDataAsset(IStacObject, Uri, ContentType, String)
StacAsset.CreateMetadataAsset(IStacObject, Uri, ContentType, String)
StacAsset.ShouldSerializeStacExtensions()
Namespace: Stac.Extensions.VirtualAssets
Assembly: DotNetStac.dll
Syntax
public class VirtualAsset : StacAsset, IStacPropertiesContainer

Constructors

| Improve this Doc View Source

VirtualAsset(IStacObject, IList<Uri>)

Initializes a new instance of the VirtualAsset class.

Declaration
public VirtualAsset(IStacObject stacObject, IList<Uri> uris)
Parameters
Type Name Description
IStacObject stacObject

The stac object.

IList<Uri> uris

The uris.

Properties

| Improve this Doc View Source

Uri

Gets or sets do not use

Declaration
public Uri Uri { get; set; }
Property Value
Type Description
Uri
| Improve this Doc View Source

Uris

Gets array of URIs to the assets object composing the virtual asset. Relative and absolute URI are both allowed

Declaration
public IList<Uri> Uris { get; }
Property Value
Type Description
IList<Uri>

Methods

| Improve this Doc View Source

Create(StacItem, IList<String>, IStacObject)

Create a new Virtual Asset from assets defined in an existing stac item

Declaration
public static VirtualAsset Create(StacItem stacItem, IList<string> assetsKey, IStacObject newStacObject = null)
Parameters
Type Name Description
StacItem stacItem

Stac Item to reference the assets from

IList<System.String> assetsKey

keys of the assets to be referenced

IStacObject newStacObject

new stac object container of the virtuals assets. If not specified, the stacItem is used

Returns
Type Description
VirtualAsset

Virtual Asset

| Improve this Doc View Source

ShouldSerializeUri()

Declaration
public bool ShouldSerializeUri()
Returns
Type Description
System.Boolean

Implements

IStacPropertiesContainer

Extension Methods

StacAccessorsHelpers.ToStringByAttributes(Object)
AlternateStacExtensionExtensions.AlternateExtension(StacAsset)
DatacubeStacExtensionExtensions.DatacubeStacExtension(StacAsset)
EoStacExtensionExtensions.EoExtension(StacAsset)
FileStacExtensionExtensions.FileExtension(StacAsset)
ProjectionStacExtensionExtensions.ProjectionExtension(StacAsset)
RasterStacExtensionExtensions.RasterExtension(StacAsset)
SarStacExtensionExtensions.SarExtension(StacAsset)
StorageStacExtensionExtensions.StorageExtension(StacAsset)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX