Show / Hide Table of Contents

Class ClientBuilderExtensions

Inheritance
System.Object
ClientBuilderExtensions
Namespace: Orleans
Assembly: Orleans.Core.Legacy.dll
Syntax
public static class ClientBuilderExtensions : object

Methods

| Improve this Doc View Source

Configuration(IClusterClient)

Gets the client configuration.

Declaration
public static ClientConfiguration Configuration(this IClusterClient client)
Parameters
Type Name Description
IClusterClient client
Returns
Type Description
ClientConfiguration
| Improve this Doc View Source

LoadConfiguration(IClientBuilder)

Loads configuration from the standard client configuration locations.

Declaration
public static IClientBuilder LoadConfiguration(this IClientBuilder builder)
Parameters
Type Name Description
IClientBuilder builder

The builder.

Returns
Type Description
IClientBuilder

The builder.

Remarks

This method loads the first client configuration file it finds, searching predefined directories for predefined file names. The following file names are tried in order:

The following directories are searched in order:
Each directory is searched for all configuration file names before proceeding to the next directory.

| Improve this Doc View Source

LoadConfiguration(IClientBuilder, FileInfo)

Loads configuration from the provided location.

Declaration
public static IClientBuilder LoadConfiguration(this IClientBuilder builder, FileInfo configurationFile)
Parameters
Type Name Description
IClientBuilder builder

The builder.

FileInfo configurationFile
Returns
Type Description
IClientBuilder

The builder.

| Improve this Doc View Source

LoadConfiguration(IClientBuilder, String)

Loads configuration from the provided location.

Declaration
public static IClientBuilder LoadConfiguration(this IClientBuilder builder, string configurationFilePath)
Parameters
Type Name Description
IClientBuilder builder

The builder.

System.String configurationFilePath
Returns
Type Description
IClientBuilder

The builder.

| Improve this Doc View Source

UseConfiguration(IClientBuilder, ClientConfiguration)

Specified the configuration to use for this client.

Declaration
public static IClientBuilder UseConfiguration(this IClientBuilder builder, ClientConfiguration configuration)
Parameters
Type Name Description
IClientBuilder builder

The client builder.

ClientConfiguration configuration

The configuration.

Returns
Type Description
IClientBuilder

The builder.

Remarks

This method may only be called once per builder instance.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX