Summary
Get a value by key from the context
- Assembly
- Rocket
.Surgery .Conventions .Abstractions .dll - Namespace
- Rocket
.Surgery .Conventions - Containing Type
- Convention
Host Builder Extensions
Syntax
public static T Get<T>(this IConventionHostBuilder context, string key)
Attributes
Type | Description |
---|---|
NotNullAttribute |
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
context | I |
The context |
key | string | The key where the value is saved |
Return Value
Type | Description |
---|---|
T | T. |