ConventionContextExtensions.

Set<T>(IConventionContext, string, T) Method

Summary

Get a value by type from the context

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