Summary
Registers a service with its implementation.
- Namespace
- Cake
.Infrastructure .Composition - Containing Type
- AutofacTypeRegistrar
Syntax
public void Register(Type service, Type implementation)
Parameters
| Name | Type | Description |
|---|---|---|
| service | Type | The service type. |
| implementation | Type | The implementation type. |
Return Value
| Type | Description |
|---|---|
| void |
