Interface IServiceInstanceProvider
Namespace: Steeltoe.Common.Discovery
Assembly: Steeltoe.Common.Abstractions.dll
Syntax
public interface IServiceInstanceProvider
Properties
| Edit this page View SourceDescription
Gets a human readable description of the implementation
Declaration
string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
Services
Gets all known service Ids
Declaration
IList<string> Services { get; }
Property Value
Type | Description |
---|---|
IList<System.String> |
Methods
| Edit this page View SourceGetInstances(String)
Get all ServiceInstances associated with a particular serviceId
Declaration
IList<IServiceInstance> GetInstances(string serviceId)
Parameters
Type | Name | Description |
---|---|---|
System.String | serviceId | the serviceId to lookup |
Returns
Type | Description |
---|---|
IList<IServiceInstance> | List of service instances |