Overload List
Name | Description | |
---|---|---|
![]() | RegisterTConcrete |
Registers that a new instance of TConcrete will be returned every time it
is requested (transient).
|
![]() | RegisterTService, TImplementation |
Registers that a new instance of TImplementation will be returned every time a
TService is requested (transient).
|
![]() | RegisterTService(FuncTService) |
Registers the specified delegate that allows returning transient instances of
TService. The delegate is expected to always return a new instance on
each call.
|
![]() | Register(Type) |
Registers that a new instance of concreteType will be returned every time it
is requested (transient).
|
![]() | RegisterTConcrete(Lifestyle) |
Registers that an instance of TConcrete will be returned when it
is requested. The instance is cached according to the supplied lifestyle.
|
![]() | RegisterTService, TImplementation(Lifestyle) |
Registers that an instance of TImplementation will be returned when an
instance of type TService is requested. The instance is cached according to
the supplied lifestyle.
|
![]() | RegisterTService(FuncTService, Lifestyle) |
Registers the specified delegate instanceCreator that will produce instances of
type TService and will be returned when an instance of type
TService is requested. The delegate is expected to produce new instances on
each call. The instances are cached according to the supplied lifestyle.
|
![]() | Register(Type, IEnumerableAssembly) |
Registers all concrete, non-generic, public and internal types in the given set of
assemblies that implement the given openGenericServiceType
with container's default lifestyle (which is transient by default).
Decorators and
generic type definitions
will be excluded from registration, while
composites are included.
|
![]() | Register(Type, IEnumerableType) |
Registers all supplied implementationTypes based on the closed-generic version
of the given openGenericServiceType with the transient lifestyle.
|
![]() | Register(Type, FuncObject) |
Registers the specified delegate that allows returning instances of serviceType.
|
![]() | Register(Type, Assembly) |
Registers all concrete, non-generic, public and internal types in the given set of
assemblies that implement the given openGenericServiceType
with container's default lifestyle (which is transient by default).
Decorators and
generic type definitions
will be excluded from registration, while
composites are included.
|
![]() | Register(Type, Type) |
Registers that a new instance of implementationType will be returned every time a
serviceType is requested. If serviceType and
implementationType represent the same type, the type is registered by itself.
Open and closed generic types are supported.
|
![]() | Register(Type, IEnumerableAssembly, Lifestyle) |
Registers all concrete, non-generic, public and internal types in the given set of
assemblies that implement the given openGenericServiceType
with the supplied lifestyle.
Decorators and
generic type definitions
will be excluded from registration, while
composites are included.
|
![]() | Register(Type, IEnumerableType, Lifestyle) |
Registers all supplied implementationTypes based on the closed-generic version
of the given openGenericServiceType with the given lifestyle.
|
![]() | Register(Type, FuncObject, Lifestyle) |
Registers the specified delegate instanceCreator that will produce instances of
type serviceType and will be returned when an instance of type
serviceType is requested. The delegate is expected to produce new instances on
each call. The instances are cached according to the supplied lifestyle.
|
![]() | Register(Type, Assembly, Lifestyle) |
Registers all concrete, non-generic, public and internal types in the given
assembly that implement the given openGenericServiceType
with the supplied lifestyle.
Decorators and
generic type definitions
will be excluded from registration, while
composites are included.
|
![]() | Register(Type, Type, Lifestyle) |
Registers that an instance of type implementationType will be returned when an
instance of type serviceType is requested. The instance is cached according to
the supplied lifestyle. Open and closed generic types are supported.
|
See Also