Intersoft ClientUI Documentation
AlwaysNewLifetime Class
Members  See Also  Send Feedback
Intersoft.Client.Framework.Containers Namespace : AlwaysNewLifetime Class






A Lifetime Manager that always returns a new instance.

Object Model

AlwaysNewLifetime Class

Syntax

Visual Basic (Declaration) 
Public Class AlwaysNewLifetime 
   Implements ILifetimeManager 
Visual Basic (Usage)Copy Code
Dim instance As AlwaysNewLifetime
C# 
public class AlwaysNewLifetime : ILifetimeManager  
Delphi 
public class AlwaysNewLifetime = class(ILifetimeManager)
JScript 
public class AlwaysNewLifetime implements ILifetimeManager 
Managed Extensions for C++ 
public __gc class AlwaysNewLifetime : public ILifetimeManager  
C++/CLI 
public ref class AlwaysNewLifetime : public ILifetimeManager  

Remarks

Setting the IocContainer's or Registration's lifetime manager to null is equivalent to setting it to an instance of AlwaysNewLifetime. This is the default lifetime manager for the IocContainer.

The one instance can be used for all registrations.

Inheritance Hierarchy

System.Object
   Intersoft.Client.Framework.Containers.AlwaysNewLifetime

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.