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
ResourceLocatorUriAn optional URL which points to the data.
SourceConfigurationTThe source configuration.
RequestConfigurationIReadOnlyDictionary<string, JsonElement>The request configuration.
Properties
RequestConfiguration
The request configuration.
public IReadOnlyDictionary<string, JsonElement>? RequestConfiguration { get; init; }
Property Value
ResourceLocator
An optional URL which points to the data.
public Uri? ResourceLocator { get; init; }
Property Value
SourceConfiguration
The source configuration.
public T SourceConfiguration { get; init; }
Property Value
- T