ClientBuilderExtensions クラス

定義

IClientBuilder の拡張メソッド。

public static class ClientBuilderExtensions
type ClientBuilderExtensions = class
Public Module ClientBuilderExtensions
継承
ClientBuilderExtensions

メソッド

AddClientInvokeCallback(IClientBuilder, ClientInvokeCallback)

クライアント呼び出しコールバックを追加します。

AddClusterConnectionLostHandler(IClientBuilder, ConnectionToClusterLostHandler)

イベント ハンドラーを ConnectionToClusterLostHandler 登録します。

AddGatewayCountChangedHandler(IClientBuilder, GatewayCountChangedHandler)

イベント ハンドラーを GatewayCountChangedHandler 登録します。

Configuration(IClusterClient)

クライアント構成を取得します。

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

特定の型のオプションを構成するために使用されるアクションを登録します。

Configure<TOptions>(IClientBuilder, IConfiguration)

TOptions のバインド先となる構成インスタンスを登録します。

ConfigureAppConfiguration(IClientBuilder, Action<IConfigurationBuilder>)

残りのビルド プロセスおよびアプリケーションの構成を設定します。 これは複数回呼び出すことができ、その結果は加算されます。 結果は以降の操作で Configuration 使用できます。/>。

ConfigureApplicationParts(IClientBuilder, Action<IApplicationPartManager>)

このビルダーの を ApplicationPartManager 構成します。

ConfigureDefaults(IClientBuilder)

既定のクライアント サービスを構成します。

ConfigureLogging(IClientBuilder, Action<ILoggingBuilder>)

指定された ILoggingBuilder を構成するためのデリゲートを追加します。 これは複数回呼び出すことができます。

ConfigureServices(IClientBuilder, Action<IServiceCollection>)

コンテナーにサービスを追加します。 これは複数回呼び出すことができ、その結果は加算されます。

GetApplicationPartManager(IClientBuilder)

このビルダーの を ApplicationPartManager 返します。

LoadConfiguration(IClientBuilder)

標準のクライアント構成の場所から構成を読み込みます。

LoadConfiguration(IClientBuilder, FileInfo)

指定した場所から構成を読み込みます。

LoadConfiguration(IClientBuilder, String)

指定した場所から構成を読み込みます。

UseConfiguration(IClientBuilder, ClientConfiguration)

このクライアントに使用する構成を指定しました。

UseEnvironment(IClientBuilder, String)

ホストによって使用される環境を指定します。

UseLocalhostClustering(IClientBuilder, Int32, String, String)

localhost 上のサイロに接続するようにクライアントを構成します。

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

localhost 上のサイロに接続するようにクライアントを構成します。

UseServiceProviderFactory(IClientBuilder, Func<IServiceCollection,IServiceProvider>)

このクライアントの を IServiceProvider 構成する方法を指定します。

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

静的クラスタリングを使用するようにクライアントを構成します。

UseStaticClustering(IClientBuilder, Action<StaticGatewayListProviderOptions>)

静的クラスタリングを使用するようにクライアントを構成します。

UseStaticClustering(IClientBuilder, IPEndPoint[])

静的クラスタリングを使用するようにクライアントを構成します。

適用対象