ConventionHostBuilderExtensions.

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

Summary

Get a value by type from the context

Syntax

public static void Set<T>(this IConventionHostBuilder context, string key, T value)

Type Parameters

Name Description
T The type of the value

Parameters

Name Type Description
context IConventionHostBuilder The context
key string The key where the value is saved
value T The value to save

Return Value

Type Description
void