---
id: fast-foundation.factory
title: Factory interface
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Factory](./fast-foundation.factory.md)

## Factory interface

Used by the default Resolver to create instances of objects when needed.

<b>Signature:</b>

```typescript
export interface Factory<T extends Constructable = any> 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [Type](./fast-foundation.factory.type.md) | T | The concrete type this factory creates. |

## Methods

|  Method | Description |
|  --- | --- |
|  [construct(container, dynamicDependencies)](./fast-foundation.factory.construct.md) | Constructs an instance of the factory's object. |
|  [registerTransformer(transformer)](./fast-foundation.factory.registertransformer.md) | Registers a transformer function to alter the object after instantiation but before returning the final constructed instance. |
