Summary
Adds a registration type to an existing registration builder.
- Namespace
- Cake
.Core .Composition - Containing Type
- Container
Registrar Extensions
Syntax
public static ICakeRegistrationBuilder As<TRegistration>(this ICakeRegistrationBuilder builder)
Type Parameters
Name | Description |
---|---|
TRegistration | The registration type. |
Parameters
Name | Type | Description |
---|---|---|
builder | I |
The registration builder. |
Return Value
Type | Description |
---|---|
I |
The same ICakeRegistrationBuilder instance so that multiple calls can be chained. |