Edytuj

Udostępnij za pośrednictwem


OptionsOverrides.GetProviderClusterOptions(IServiceProvider, String) Method

Definition

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.

public static Microsoft.Extensions.Options.IOptions<Orleans.Configuration.ClusterOptions> GetProviderClusterOptions (this IServiceProvider services, string providerName);
static member GetProviderClusterOptions : IServiceProvider * string -> Microsoft.Extensions.Options.IOptions<Orleans.Configuration.ClusterOptions>
<Extension()>
Public Function GetProviderClusterOptions (services As IServiceProvider, providerName As String) As IOptions(Of ClusterOptions)

Parameters

services
IServiceProvider
providerName
String

Returns

Applies to