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