Factory.construct() method
@microsoft/fast-element/di.js > Factory > construct
Factory.construct() method
Constructs an instance of the factory's object.
Signature:
construct(container: Container, dynamicDependencies?: Key[]): Resolved<T>;
Parameters
Parameter | Type | Description |
---|---|---|
container | The container the object is being constructor for. | |
dynamicDependencies | Key[] | (Optional) Dynamic dependencies supplied to the constructor. |
Returns:
Resolved<T>