Table of Contents

Class ResourceInfo

Namespace
Nexus.Api
Assembly
Nexus.Api.dll

Metadata for a data resource.

public sealed record ResourceInfo : IEquatable<ResourceInfo>
Inheritance
ResourceInfo
Implements
Inherited Members

Constructors

ResourceInfo(CatalogItem, string, string?, string?, TimeSpan)

Metadata for a data resource.

public ResourceInfo(CatalogItem CatalogItem, string Name, string? Unit, string? Description, TimeSpan SamplePeriod)

Parameters

CatalogItem CatalogItem

The catalog item.

Name string

The resource name.

Unit string

The optional resource unit.

Description string

The optional resource description.

SamplePeriod TimeSpan

The sample period.

Properties

CatalogItem

The catalog item.

public CatalogItem CatalogItem { get; init; }

Property Value

CatalogItem

Description

The optional resource description.

public string? Description { get; init; }

Property Value

string

Name

The resource name.

public string Name { get; init; }

Property Value

string

SamplePeriod

The sample period.

public TimeSpan SamplePeriod { get; init; }

Property Value

TimeSpan

Unit

The optional resource unit.

public string? Unit { get; init; }

Property Value

string