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

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

## Registry.register() method

Registers dependencies in the specified container.

<b>Signature:</b>

```typescript
register(container: Container, ...params: unknown[]): void | Resolver;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  container | [Container](./fast-foundation.container.md) | The container to register dependencies in. |
|  params | unknown\[\] | Parameters that affect the registration process. |

<b>Returns:</b>

void \| [Resolver](./fast-foundation.resolver.md)

## Remarks

If this registry doubles as a Registration, it should return a Resolver for the registered dependency.
