FromValue<TValue>(Task<TValue>) Method
Creates a config value.
Namespace
Statiq.Common
Containing Type
Config

Syntax

public static Config<TValue> FromValue<TValue>(Task<TValue> value)

Type Parameters

Name Description
TValue The type of config value.

Parameters

Name Type Description
value Task<TValue> The config value.

Return Value

Type Description
Config<TValue> A config object.