ClientBuilderExtensions.ConfigureServices Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds services to the container. This can be called multiple times and the results will be additive.
public static Orleans.IClientBuilder ConfigureServices (this Orleans.IClientBuilder hostBuilder, Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> configureDelegate);
static member ConfigureServices : Orleans.IClientBuilder * Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> -> Orleans.IClientBuilder
<Extension()>
Public Function ConfigureServices (hostBuilder As IClientBuilder, configureDelegate As Action(Of IServiceCollection)) As IClientBuilder
Parameters
- hostBuilder
- IClientBuilder
The IClientBuilder to configure.
- configureDelegate
- Action<IServiceCollection>
Returns
The same instance of the IClientBuilder for chaining.