Skip to content

OptionsOverrides.GetProviderClusterOptions(IServiceProvider, string)

GetProviderClusterOptions(IServiceProvider, string)

staticextension
View source
public static IOptions<ClusterOptions> GetProviderClusterOptions(this IServiceProvider services, string providerName)
Gets ClusterOptions which may have been overridden on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

Parameters

servicesIServiceProvider
providerNamestring