C# Class GSoft.Dynamite.DI.Unity.UnityPerRequestLifetimeManager

Pre-request lifetime manager. Only one instance of the class is used per HttpRequest.
Inheritance: Microsoft.Practices.Unity.LifetimeManager, IDisposable
Afficher le fichier Open project: GSoft-SharePoint/Dynamite-2010

Méthodes publiques

Méthode Description
Dispose ( ) : void

Disposal removes the object from lifetime manager control

GetValue ( ) : object

Retrieve the lifetime manager controlled object

RemoveValue ( ) : void

Clear the lifetime manager controlled object

SetValue ( object newValue ) : void

Adds the object under lifetime manager control

Méthodes protégées

Méthode Description
Dispose ( bool cleanupManagedResources ) : void

Disposal removes the object from lifetime manager control

Method Details

Dispose() public méthode

Disposal removes the object from lifetime manager control
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Disposal removes the object from lifetime manager control
protected Dispose ( bool cleanupManagedResources ) : void
cleanupManagedResources bool Whether both managed and native resources should be freed
Résultat void

GetValue() public méthode

Retrieve the lifetime manager controlled object
public GetValue ( ) : object
Résultat object

RemoveValue() public méthode

Clear the lifetime manager controlled object
public RemoveValue ( ) : void
Résultat void

SetValue() public méthode

Adds the object under lifetime manager control
public SetValue ( object newValue ) : void
newValue object New value
Résultat void