Class ConfigurationServiceInstanceProvider
public class ConfigurationServiceInstanceProvider : IServiceInstanceProvider
- Inheritance
-
ConfigurationServiceInstanceProvider
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ConfigurationServiceInstanceProvider(IOptionsMonitor<List<ConfigurationServiceInstance>>)
public ConfigurationServiceInstanceProvider(IOptionsMonitor<List<ConfigurationServiceInstance>> serviceInstances)
Parameters
serviceInstances
IOptionsMonitor<List<ConfigurationServiceInstance>>
Properties
Description
Gets a human readable description of the implementation
public string Description { get; }
Property Value
Services
Gets all known service Ids
public IList<string> Services { get; }
Property Value
Methods
GetInstances(string)
Get all ServiceInstances associated with a particular serviceId
public IList<IServiceInstance> GetInstances(string serviceId)
Parameters
serviceId
stringthe serviceId to lookup
Returns
- IList<IServiceInstance>
List of service instances