Register(Func) Method

Definition

Namespace Stunts
Assembly Stunts.dll

Registers a default value factory for the given T.

public void Register<T>(Func<T> factory)

Type parameters

T

Parameters

factory
Func<T>