Intersoft ClientUI Documentation
UsesDefaultLifetimeManagerOf Method
See Also  Send Feedback
Intersoft.Client.Framework.Containers Namespace > IContainerFluent Interface : UsesDefaultLifetimeManagerOf Method






lifetimeManager
The Lifetime manager to use.
Sets the LifetimeManager that will be used on new registrations by default. This can be changed calling WithRegistration on the IRegistration returned from a call to Register.

Syntax

Visual Basic (Declaration) 
Function UsesDefaultLifetimeManagerOf( _
   ByVal lifetimeManager As ILifetimeManager _
) As IContainerFluent
Visual Basic (Usage)Copy Code
Dim instance As IContainerFluent
Dim lifetimeManager As ILifetimeManager
Dim value As IContainerFluent
 
value = instance.UsesDefaultLifetimeManagerOf(lifetimeManager)
C# 
IContainerFluent UsesDefaultLifetimeManagerOf( 
   ILifetimeManager lifetimeManager
)
Delphi 
function UsesDefaultLifetimeManagerOf( 
    lifetimeManager: ILifetimeManager
): IContainerFluent; 
JScript 
function UsesDefaultLifetimeManagerOf( 
   lifetimeManager : ILifetimeManager
) : IContainerFluent;
Managed Extensions for C++ 
IContainerFluent* UsesDefaultLifetimeManagerOf( 
   ILifetimeManager* lifetimeManager
) 
C++/CLI 
IContainerFluent^ UsesDefaultLifetimeManagerOf( 
   ILifetimeManager^ lifetimeManager
) 

Parameters

lifetimeManager
The Lifetime manager to use.

Return Value

The IContainerFluent instance itself so that the method calls can be chained.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.