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