Compartilhar via


TestClusterExtensions.GetTestClusterOptions Método

Definição

Sobrecargas

GetTestClusterOptions(IConfiguration)

Obtém as opções de cluster de teste.

GetTestClusterOptions(IHostBuilder)

Obtém as opções de cluster de teste.

GetTestClusterOptions(ISiloBuilder)
GetTestClusterOptions(ISiloHostBuilder)

GetTestClusterOptions(IConfiguration)

Origem:
TestClusterExtensions.cs

Obtém as opções de cluster de teste.

public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Microsoft.Extensions.Configuration.IConfiguration config);
static member GetTestClusterOptions : Microsoft.Extensions.Configuration.IConfiguration -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (config As IConfiguration) As TestClusterOptions

Parâmetros

config
IConfiguration

A configuração.

Retornos

As opções de cluster de teste.

Aplica-se a

GetTestClusterOptions(IHostBuilder)

Obtém as opções de cluster de teste.

public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder);
static member GetTestClusterOptions : Microsoft.Extensions.Hosting.IHostBuilder -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (hostBuilder As IHostBuilder) As TestClusterOptions

Parâmetros

hostBuilder
IHostBuilder

O construtor de host.

Retornos

As opções de cluster de teste.

Aplica-se a

GetTestClusterOptions(ISiloBuilder)

Origem:
TestClusterExtensions.cs
public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Orleans.Hosting.ISiloBuilder hostBuilder);
static member GetTestClusterOptions : Orleans.Hosting.ISiloBuilder -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (hostBuilder As ISiloBuilder) As TestClusterOptions

Parâmetros

hostBuilder
ISiloBuilder

Retornos

Aplica-se a

GetTestClusterOptions(ISiloHostBuilder)

Origem:
TestClusterExtensions.cs
public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Orleans.Hosting.ISiloHostBuilder hostBuilder);
static member GetTestClusterOptions : Orleans.Hosting.ISiloHostBuilder -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (hostBuilder As ISiloHostBuilder) As TestClusterOptions

Parâmetros

hostBuilder
ISiloHostBuilder

Retornos

Aplica-se a