Interface IFactoryLifetimeManager
This interface marks all lifetime managers compatible with RegisterFactory(Type, String, Func<IUnityContainer, Type, String, Object>, IFactoryLifetimeManager) registration.
Namespace: Unity.Lifetime
Assembly: Unity.Abstractions.dll
Syntax
public interface IFactoryLifetimeManager
Remarks
This interface is used for design type validation of registration compatibility. Each registration type only takes lifetime managers compatible with it.
Methods
| Improve this Doc View SourceCreateLifetimePolicy()
Declaration
LifetimeManager CreateLifetimePolicy()
Returns
Type | Description |
---|---|
LifetimeManager |