Table of Contents

Delegate ConnectorCreateHealthContributor

Namespace
Steeltoe.Connectors
Assembly
Steeltoe.Connectors.dll

Represents the method that creates a driver-specific health contributor.

public delegate IHealthContributor ConnectorCreateHealthContributor(IServiceProvider serviceProvider, string serviceBindingName)

Parameters

serviceProvider IServiceProvider

The application's configured services. Inject IOptionsMonitor<TOptions> to obtain the connection string.

serviceBindingName string

The service binding name.

Returns

IHealthContributor

The driver-specific health contributor.