---
id: fast-foundation.registration.register
title: Registration.register() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Registration](./fast-foundation.registration.md) &gt; [register](./fast-foundation.registration.register.md)

## Registration.register() method

Creates a resolver for a desired dependency.

<b>Signature:</b>

```typescript
register(container: Container): Resolver<K>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  container | [Container](./fast-foundation.container.md) | The container to register the dependency within. |

<b>Returns:</b>

[Resolver](./fast-foundation.resolver.md)<!-- -->&lt;K&gt;
