Table of Contents

Class DataSourceContext<T>

Namespace
Nexus.Extensibility
Assembly
Nexus.Extensibility.dll

The starter package for a data source.

public record DataSourceContext<T> : IEquatable<DataSourceContext<T>>

Type Parameters

T
Inheritance
DataSourceContext<T>
Implements
Inherited Members

Constructors

DataSourceContext(Uri?, T, IReadOnlyDictionary<string, JsonElement>?)

The starter package for a data source.

public DataSourceContext(Uri? ResourceLocator, T SourceConfiguration, IReadOnlyDictionary<string, JsonElement>? RequestConfiguration)

Parameters

ResourceLocator Uri

An optional URL which points to the data.

SourceConfiguration T

The source configuration.

RequestConfiguration IReadOnlyDictionary<string, JsonElement>

The request configuration.

Properties

RequestConfiguration

The request configuration.

public IReadOnlyDictionary<string, JsonElement>? RequestConfiguration { get; init; }

Property Value

IReadOnlyDictionary<string, JsonElement>

ResourceLocator

An optional URL which points to the data.

public Uri? ResourceLocator { get; init; }

Property Value

Uri

SourceConfiguration

The source configuration.

public T SourceConfiguration { get; init; }

Property Value

T