Skip to main content
Version: 1.x

@microsoft/fast-foundation > Factory > construct

Factory.construct() method

Constructs an instance of the factory's object.

Signature:
construct(container: Container, dynamicDependencies?: Key[]): Resolved<T>;

Parameters

ParameterTypeDescription
containerContainerThe container the object is being constructor for.
dynamicDependenciesKey[]Dynamic dependencies supplied to the constructor.
Returns:

Resolved<T>