Table of Contents

Interface ITypeLifetimeManager

Namespace
Unity.Lifetime
Assembly
Unity.Abstractions.dll

This interface marks all lifetime managers compatible with RegisterType(Type, Type, string, ITypeLifetimeManager, params InjectionMember[]) registration.

public interface ITypeLifetimeManager
Extension Methods

Remarks

This interface is used for design type validation of registration compatibility. Each registration type only takes lifetime managers compatible with it.

Methods

CreateLifetimePolicy()

LifetimeManager CreateLifetimePolicy()

Returns

LifetimeManager