ICakeRegistrationBuilder.

Singleton() Method

Summary

Configure the component so that every dependent component gets the same, shared instance. This is the default lifetime scope.

Syntax

ICakeRegistrationBuilder Singleton()

Return Value

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