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