Table of Contents

Interface IDataSource<T>

Namespace
Nexus.Extensibility
Assembly
Nexus.Extensibility.dll

A data source.

public interface IDataSource<T> : IDataSource

Type Parameters

T

The 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

context DataSourceContext<T>

The context.

logger ILogger

The logger.

cancellationToken CancellationToken

A token to cancel the current operation.

Returns

Task

The task.