INetadminContainerExtenderOverrideRegistrationTInterface, TConcrete Method |
[This is preliminary documentation and is subject to change.]
Used to override a previous registration
Namespace: Netadmin.CoreAssembly: Netadmin.Core (in Netadmin.Core.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntaxvoid OverrideRegistration<TInterface, TConcrete>(
DependencyLifeCycle lifeCycle
)
where TInterface : class
where TConcrete : TInterface
Sub OverrideRegistration(Of TInterface As Class, TConcrete As TInterface) (
lifeCycle As DependencyLifeCycle
)
Parameters
- lifeCycle
- Type: Netadmin.CoreDependencyLifeCycle
The lifecycle of the created object, normally Singleton
Type Parameters
- TInterface
- The interface
- TConcrete
- The class that implements TInterface
See Also