Interface IDiscoveryClientExtension
Namespace: Steeltoe.Discovery.Client
Assembly: Steeltoe.Discovery.ClientBase.dll
Syntax
public interface IDiscoveryClientExtension
Methods
| Edit this page View SourceApplyServices(IServiceCollection)
Implementations of this method will add services required by the IDiscoveryClient to the service collection for activation later
Declaration
void ApplyServices(IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services |
IsConfigured(IConfiguration, IServiceInfo)
Check if this client has been configured
Declaration
bool IsConfigured(IConfiguration configuration, IServiceInfo serviceInfo = null)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration | configuration | Application Configuration to search |
IServiceInfo | serviceInfo | Service binding credentials |
Returns
Type | Description |
---|---|
System.Boolean | Value indicating presence of expected configuration keys |