Table of Contents

Class DataSourceRegistration

Namespace
Nexus.Api.V1
Assembly
Nexus.Api.dll

A data source registration.

public record DataSourceRegistration : IEquatable<DataSourceRegistration>
Inheritance
DataSourceRegistration
Implements
Inherited Members

Constructors

DataSourceRegistration(string, Uri?, JsonElement, string?)

A data source registration.

public DataSourceRegistration(string Type, Uri? ResourceLocator, JsonElement Configuration, string? InfoUrl)

Parameters

Type string

The type of the data source.

ResourceLocator Uri

An optional URL which points to the data.

Configuration JsonElement

Configuration parameters for the instantiated source.

InfoUrl string

An optional info URL.

Properties

Configuration

Configuration parameters for the instantiated source.

public JsonElement Configuration { get; init; }

Property Value

JsonElement

InfoUrl

An optional info URL.

public string? InfoUrl { get; init; }

Property Value

string

ResourceLocator

An optional URL which points to the data.

public Uri? ResourceLocator { get; init; }

Property Value

Uri

Type

The type of the data source.

public string Type { get; init; }

Property Value

string