ContainerRegistrarExtensions.

As<TRegistration>(ICakeRegistrationBuilder) Method

Summary

Adds a registration type to an existing registration builder.

Syntax

public static ICakeRegistrationBuilder As<TRegistration>(this ICakeRegistrationBuilder builder)

Type Parameters

Name Description
TRegistration The registration type.

Parameters

Name Type Description
builder ICakeRegistrationBuilder The registration builder.

Return Value

Type Description
ICakeRegistrationBuilder The same ICakeRegistrationBuilder instance so that multiple calls can be chained.