Click or drag to resize

RegistrationExtensionsRegisterComposite Method

Overload List
  NameDescription
Public methodStatic memberRegisterCompositeTComposite, TService(ContainerBuilder)

Register a composite type that should always provide the instance of TService when it is resolved, regardless of what other registrations for TService are available.

Composite registrations are not included when resolving a collection of TService.

Public methodStatic memberRegisterCompositeTService(ContainerBuilder, FuncIComponentContext, IEnumerableTService, TService)

Register a delegate that should always provide the composite instance of a service type when it is resolved, regardless of what other registrations for TService are available.

Composite registrations are not included when resolving a collection of TService.

Public methodStatic memberRegisterCompositeTService(ContainerBuilder, FuncIComponentContext, IEnumerableParameter, IEnumerableTService, TService)

Register a delegate that should always provide the composite instance of a service type when it is resolved, regardless of what other registrations for TService are available.

Composite registrations are not included when resolving a collection of TService.

Public methodStatic memberRegisterComposite(ContainerBuilder, Type, Type)

Register a composite type that should always provide the instance of serviceType when it is resolved, regardless of what other registrations for serviceType are available.

Composite registrations are not included when resolving a collection of serviceType.

Top
See Also