Table of Contents

Class IServiceInstanceProviderExtensions

Namespace
Steeltoe.Common.Discovery
Assembly
Steeltoe.Common.dll
public static class IServiceInstanceProviderExtensions
Inheritance
IServiceInstanceProviderExtensions
Inherited Members

Methods

GetInstancesWithCacheAsync(IServiceInstanceProvider, string, IDistributedCache, DistributedCacheEntryOptions, string)

public static Task<IList<IServiceInstance>> GetInstancesWithCacheAsync(this IServiceInstanceProvider serviceInstanceProvider, string serviceId, IDistributedCache distributedCache = null, DistributedCacheEntryOptions cacheOptions = null, string serviceInstancesKeyPrefix = "ServiceInstances:")

Parameters

serviceInstanceProvider IServiceInstanceProvider
serviceId string
distributedCache IDistributedCache
cacheOptions DistributedCacheEntryOptions
serviceInstancesKeyPrefix string

Returns

Task<IList<IServiceInstance>>