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