ConventionContextExtensions.

Get<T>(IConventionContext, string) Method

Summary

Get a value by key from the context

Syntax

public static T Get<T>(this IConventionContext context, string key)

Attributes

Type Description
NotNullAttribute

Type Parameters

Name Description
T

Parameters

Name Type Description
context IConventionContext The context
key string The key where the value is saved

Return Value

Type Description
T T.