Skip to main content
Version: 1.x

@microsoft/fast-foundation > Registry > register

Registry.register() method

Registers dependencies in the specified container.

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

Parameters

ParameterTypeDescription
containerContainerThe container to register dependencies in.
paramsunknown[]Parameters that affect the registration process.
Returns:

void | Resolver

Remarks

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