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.Hosting.IClientBuilder ConfigureServices (this Orleans.Hosting.IClientBuilder builder, Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> configureDelegate);
static member ConfigureServices : Orleans.Hosting.IClientBuilder * Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function ConfigureServices (builder As IClientBuilder, configureDelegate As Action(Of IServiceCollection)) As IClientBuilder
Parameters
- builder
- IClientBuilder
The host builder.
- configureDelegate
- Action<IServiceCollection>
Returns
The same instance of the IClientBuilder for chaining.