Summary
Registers an instance for a service.
- Namespace
- Cake
.Infrastructure .Composition - Containing Type
- AutofacTypeRegistrar
Syntax
public void RegisterInstance(Type service, object implementation)
Parameters
| Name | Type | Description |
|---|---|---|
| service | Type | The service type. |
| implementation | object | The implementation instance. |
Return Value
| Type | Description |
|---|---|
| void |
