Summary
Registers an instance with the container registry.
- Namespace
- Cake
.Core .Composition - Containing Type
- I
Cake Container Registrar
Syntax
ICakeRegistrationBuilder RegisterInstance<TImplementation>(TImplementation instance)
where TImplementation : class
Type Parameters
| Name | Description |
|---|---|
| TImplementation | The instance's implementation type to register. |
Parameters
| Name | Type | Description |
|---|---|---|
| instance | TImplementation | The instance to register. |
Return Value
| Type | Description |
|---|---|
| I |
A registration builder used to configure the registration. |
