Table of Contents

Class ConfigurationServiceInstanceProvider

Namespace
Steeltoe.Common.Discovery
Assembly
Steeltoe.Common.dll
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

string

Services

Gets all known service Ids

public IList<string> Services { get; }

Property Value

IList<string>

Methods

GetInstances(string)

Get all ServiceInstances associated with a particular serviceId

public IList<IServiceInstance> GetInstances(string serviceId)

Parameters

serviceId string

the serviceId to lookup

Returns

IList<IServiceInstance>

List of service instances