Show / Hide Table of Contents

Class StacProvider

The class provides properties about a provider. A provider is any of the organizations that captures or processes the content of the Collection and therefore influences the data offered by this Collection. May also include information about the final storage provider hosting the data. STAC Provider Object

Inheritance
System.Object
StacProvider
Namespace: Stac
Assembly: DotNetStac.dll
Syntax
public class StacProvider : object

Constructors

| Improve this Doc View Source

StacProvider(String, IEnumerable<StacProviderRole>)

Initializes a new instance of the StacProvider class.

Declaration
public StacProvider(string name, IEnumerable<StacProviderRole> providerRoles = null)
Parameters
Type Name Description
System.String name

The name of the organization or the individual.

IEnumerable<StacProviderRole> providerRoles

Roles of the provider. Any of StacProviderRole.

Properties

| Improve this Doc View Source

Description

Gets or sets multi-line description to add further provider information such as processing details for processors and producers, hosting details for hosts or basic contact information. CommonMark 0.29 syntax MAY be used for rich text representation.

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String

Gets/sets the description

| Improve this Doc View Source

Name

Gets or sets the name of the organization or the individual.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Gets/sets the name

| Improve this Doc View Source

Roles

Gets roles of the provider. Any of StacProviderRole.

Declaration
public Collection<StacProviderRole> Roles { get; }
Property Value
Type Description
Stac.Collection<StacProviderRole>

Gets the roles collection

| Improve this Doc View Source

Uri

Gets or sets homepage on which the provider describes the dataset and publishes contact information.

Declaration
public Uri Uri { get; set; }
Property Value
Type Description
Uri

Gets/sets the URL

Methods

| Improve this Doc View Source

ShouldSerializeRoles()

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

Extension Methods

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