Summary
Uses the dependency context.
- Assembly
- Rocket
.Surgery .Hosting .dll - Namespace
- Rocket
.Surgery .Hosting - Containing Type
- RocketHostExtensions
Syntax
public static IRocketHostBuilder UseDependencyContext(this IRocketHostBuilder builder, DependencyContext dependencyContext, DiagnosticSource diagnosticSource = null)
Parameters
Name | Type | Description |
---|---|---|
builder | IRocketHostBuilder | The builder. |
dependencyContext | DependencyContext | The dependency context. |
diagnosticSource | DiagnosticSource | The diagnostic source. |
Return Value
Type | Description |
---|---|
IRocketHostBuilder | IRocketHostBuilder. |