Edit

Share via


ClientBuilderExtensions Class

Definition

Extension methods for IClientBuilder.

public static class ClientBuilderExtensions
type ClientBuilderExtensions = class
Public Module ClientBuilderExtensions
Inheritance
ClientBuilderExtensions

Methods

AddClientInvokeCallback(IClientBuilder, ClientInvokeCallback)

Adds a client invocation callback.

AddClusterConnectionLostHandler(IClientBuilder, ConnectionToClusterLostHandler)

Registers a ConnectionToClusterLostHandler event handler.

AddGatewayCountChangedHandler(IClientBuilder, GatewayCountChangedHandler)

Registers a GatewayCountChangedHandler event handler.

Configuration(IClusterClient)

Gets the client configuration.

Configure<TOptions>(IClientBuilder, Action<TOptions>)

Registers an action used to configure a particular type of options.

Configure<TOptions>(IClientBuilder, IConfiguration)

Registers a configuration instance which TOptions will bind against.

ConfigureAppConfiguration(IClientBuilder, Action<IConfigurationBuilder>)

Sets up the configuration for the remainder of the build process and application. This can be called multiple times and the results will be additive. The results will be available at Configuration for subsequent operations./>.

ConfigureApplicationParts(IClientBuilder, Action<IApplicationPartManager>)

Configures the ApplicationPartManager for this builder.

ConfigureDefaults(IClientBuilder)

Configures default client services.

ConfigureLogging(IClientBuilder, Action<ILoggingBuilder>)

Adds a delegate for configuring the provided ILoggingBuilder. This may be called multiple times.

ConfigureServices(IClientBuilder, Action<IServiceCollection>)

Adds services to the container. This can be called multiple times and the results will be additive.

GetApplicationPartManager(IClientBuilder)

Returns the ApplicationPartManager for this builder.

LoadConfiguration(IClientBuilder)

Loads configuration from the standard client configuration locations.

LoadConfiguration(IClientBuilder, FileInfo)

Loads configuration from the provided location.

LoadConfiguration(IClientBuilder, String)

Loads configuration from the provided location.

UseConfiguration(IClientBuilder, ClientConfiguration)

Specified the configuration to use for this client.

UseEnvironment(IClientBuilder, String)

Specify the environment to be used by the host.

UseLocalhostClustering(IClientBuilder, Int32, String, String)

Configures the client to connect to a silo on the localhost.

UseLocalhostClustering(IClientBuilder, Int32[], String, String)

Configures the client to connect to a silo on the localhost.

UseServiceProviderFactory(IClientBuilder, Func<IServiceCollection,IServiceProvider>)

Specifies how the IServiceProvider for this client is configured.

UseStaticClustering(IClientBuilder, Action<OptionsBuilder<StaticGatewayListProviderOptions>>)

Configures the client to use static clustering.

UseStaticClustering(IClientBuilder, Action<StaticGatewayListProviderOptions>)

Configures the client to use static clustering.

UseStaticClustering(IClientBuilder, IPEndPoint[])

Configures the client to use static clustering.

Applies to