Class IServiceInstanceProviderExtensions
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
IServiceInstanceProviderserviceId
stringdistributedCache
IDistributedCachecacheOptions
DistributedCacheEntryOptionsserviceInstancesKeyPrefix
string