WithLifetime Class
Provides helper methods to specify the lifetime for a type with registration by convention.
Namespace: Microsoft.Practices.Unity
Assembly: Microsoft.Practices.Unity.NetCore (in Microsoft.Practices.Unity.NetCore.dll) Version: 3.0.0.0 (3.0.1304.1) and Microsoft.Practices.Unity.WindowsPhone (in Microsoft.Practices.Unity.WindowsPhone.dll) Version: 3.0.0.0 (3.0.1304.1)
Syntax
public static class WithLifetime
'Declaration
Public NotInheritable Class WithLifetime
public ref class WithLifetime abstract sealed
Inheritance Hierarchy
System.Object
Microsoft.Practices.Unity.WithLifetime