ConfigHelper<T>.

ConfigHelper(ContextConfig, T) Constructor

Summary

Creates a new helper with the specified delegate.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Configuration
Containing Type
ConfigHelper<T>

Syntax

public ConfigHelper(ContextConfig config, T defaultValue = default(T))

Parameters

Name Type Description
config ContextConfig The delegate.
defaultValue T A default value to use if the delegate is null.

Return Value

Type Description
void
GitHub