LifetimeStrategy Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

An IBuilderStrategy implementation that uses a ILifetimePolicy to figure out if an object has already been created and to update or remove that object from some backing store.

Namespace: Microsoft.Practices.ObjectBuilder2
Assembly: Microsoft.Practices.ObjectBuilder2 (in Microsoft.Practices.ObjectBuilder2.dll)

Syntax

'Declaration
Public Class LifetimeStrategy _
    Inherits BuilderStrategy
public class LifetimeStrategy : BuilderStrategy
public ref class LifetimeStrategy : public BuilderStrategy
public class LifetimeStrategy extends BuilderStrategy

Inheritance Hierarchy

System.Object
Microsoft.Practices.ObjectBuilder2.BuilderStrategy
Microsoft.Practices.ObjectBuilder2.LifetimeStrategy

See Also

LifetimeStrategy Members

Microsoft.Practices.ObjectBuilder2 Namespace