WithLifetime.ContainerControlled Method
Returns a ContainerControlledLifetimeManager.
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 LifetimeManager ContainerControlled(
Type type
)
'Declaration
Public Shared Function ContainerControlled (
type As Type
) As LifetimeManager
public:
static LifetimeManager^ ContainerControlled(
Type^ type
)
Parameters
- type
Type: System.Type
The type.
Return Value
Type: LifetimeManager
A container controlled lifetime manager.