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
Afficher le fichier Open project: daisy/tobi Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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

RemoveValue() public abstract méthode

Remove the given object from backing store.
public abstract RemoveValue ( ) : void
Résultat void

SetValue() public abstract méthode

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