Table of Contents

Interface IDiscoveryClientExtension

Namespace
Steeltoe.Discovery.Client
Assembly
Steeltoe.Discovery.ClientBase.dll
public interface IDiscoveryClientExtension

Methods

ApplyServices(IServiceCollection)

Implementations of this method will add services required by the IDiscoveryClient to the service collection for activation later

void ApplyServices(IServiceCollection services)

Parameters

services IServiceCollection

Microsoft.Extensions.DependencyInjection.IServiceCollection to configure

IsConfigured(IConfiguration, IServiceInfo)

Check if this client has been configured

bool IsConfigured(IConfiguration configuration, IServiceInfo serviceInfo = null)

Parameters

configuration IConfiguration

Application Configuration to search

serviceInfo IServiceInfo

Service binding credentials

Returns

bool

Value indicating presence of expected configuration keys