Interface IDataSource<T>
- Namespace
- Nexus.Extensibility
- Assembly
- Nexus.Extensibility.dll
A data source.
public interface IDataSource<T> : IDataSource
Type Parameters
TThe source configuration type
- Inherited Members
Methods
SetContextAsync(DataSourceContext<T>, ILogger, CancellationToken)
Invoked by Nexus right after construction to provide the context.
Task SetContextAsync(DataSourceContext<T> context, ILogger logger, CancellationToken cancellationToken)
Parameters
contextDataSourceContext<T>The context.
loggerILoggerThe logger.
cancellationTokenCancellationTokenA token to cancel the current operation.
Returns
- Task
The task.