共用方式為


LegacyConfigurationExtensions.AddLegacyClientConfigurationSupport 方法

定義

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLegacyClientConfigurationSupport (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Orleans.Runtime.Configuration.ClientConfiguration configuration = default);
static member AddLegacyClientConfigurationSupport : Microsoft.Extensions.DependencyInjection.IServiceCollection * Orleans.Runtime.Configuration.ClientConfiguration -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddLegacyClientConfigurationSupport (services As IServiceCollection, Optional configuration As ClientConfiguration = Nothing) As IServiceCollection

參數

configuration
ClientConfiguration

傳回

適用於