Table of Contents

Interface IUpgradableDataSource

Namespace
Nexus.Extensibility
Assembly
Nexus.Extensibility.dll

Data sources which have configuration data to be upgraded should implement this interface.

public interface IUpgradableDataSource

Methods

UpgradeSourceConfigurationAsync(JsonElement, CancellationToken)

Upgrades the source configuration.

Task<JsonElement> UpgradeSourceConfigurationAsync(JsonElement configuration, CancellationToken cancellationToken)

Parameters

configuration JsonElement

The configuration.

cancellationToken CancellationToken

A token to cancel the current operation.

Returns

Task<JsonElement>

The upgraded source configuration.