Skip to main content

@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.