C# Class Microsoft.Practices.Unity.LifetimeManager

Base class for Lifetime managers - classes that control how and when instances are created by the Unity container.
Inheritance: ILifetimePolicy
显示文件 Open project: daisy/tobi Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetValue ( ) : object

Retrieve a value from the backing store associated with this Lifetime policy.

RemoveValue ( ) : void

Remove the given object from backing store.

SetValue ( object newValue ) : void

Stores the given value into backing store for retrieval later.

Method Details

GetValue() public abstract method

Retrieve a value from the backing store associated with this Lifetime policy.
public abstract GetValue ( ) : object
return object

RemoveValue() public abstract method

Remove the given object from backing store.
public abstract RemoveValue ( ) : void
return void

SetValue() public abstract method

Stores the given value into backing store for retrieval later.
public abstract SetValue ( object newValue ) : void
newValue object The object being stored.
return void