ContainerRegistrarExtensions.

RegisterType<TImplementation>(ICakeContainerRegistrar) Method

Summary

Registers a type with the container registrar.

Syntax

public static ICakeRegistrationBuilder RegisterType<TImplementation>(this ICakeContainerRegistrar registrar)

Type Parameters

Name Description
TImplementation The implementation type to register.

Parameters

Name Type Description
registrar ICakeContainerRegistrar The container registrar.

Return Value

Type Description
ICakeRegistrationBuilder A registration builder used to configure the registration.