Summary
Registers a type with the container registrar.
- Namespace
- Cake
.Core .Composition - Containing Type
- Container
Registrar Extensions
Syntax
public static ICakeRegistrationBuilder RegisterType<TImplementation>(this ICakeContainerRegistrar registrar)
Type Parameters
| Name | Description |
|---|---|
| TImplementation | The implementation type to register. |
Parameters
| Name | Type | Description |
|---|---|---|
| registrar | I |
The container registrar. |
Return Value
| Type | Description |
|---|---|
| I |
A registration builder used to configure the registration. |
