IContainerBuilder
Namespace: ASPSecurityKit
Assembly: ASPSecurityKit.dll
Summary
Provides an interface to represent a simple dependency injection builder required by ASK components. You provide the implementation based on DI framework of your choice. Check out https://ASPSecurityKit.net/docs/source-packages/ – every source package comes with a default implementation.
Methods
Register(concrete,scope)
Summary
Registers the specified concrete type to resolve by itself with the specified scope.
Parameters
Register<TConcrete>(scope)
Summary
Registers the specified concrete type to resolve by itself with the specified scope.
Parameters
Generic Types
Name |
Description |
TConcrete |
The type of the concrete. |
Register<TContract,TConcrete>(scope)
Summary
Registers the specified contract to resolve by the specified concrete type with the specified scope.
Parameters
Generic Types
Name |
Description |
TContract |
The type of the contract. |
TConcrete |
The type of the concrete. |
Register<TConcrete>(contracts,scope)
Summary
Registers the specified multiple contracts to resolve by the specified concrete type with the specified scope.
Parameters
Generic Types
Name |
Description |
TConcrete |
The type of the concrete. |
Register<TContract>(factory,scope)
Summary
Registers the specified contract to resolve using a custom factory method with the specified scope.
Parameters
Generic Types
Name |
Description |
TContract |
The type of the contract. |