Summary
Get a value by type from the context
- Assembly
- Rocket
.Surgery .Conventions .Abstractions .dll - Namespace
- Rocket
.Surgery .Conventions - Containing Type
- Convention
Host Builder Extensions
Syntax
public static void Set<T>(this IServiceProviderDictionary serviceProviderDictionary, string key, T value)
Type Parameters
Name | Description |
---|---|
T | The type of the value |
Parameters
Name | Type | Description |
---|---|---|
serviceProviderDictionary | I |
The properties |
key | string | The key where the value is saved |
value | T | The value to save |
Return Value
Type | Description |
---|---|
void |