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