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
Namespace: Stac
Assembly: DotNetStac.dll
Syntax
public class StacProvider : object
Constructors
| Improve this Doc View SourceStacProvider(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 SourceDescription
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 |
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 |
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 |
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 SourceShouldSerializeRoles()
Declaration
public bool ShouldSerializeRoles()
Returns
Type | Description |
---|---|
System.Boolean |