C# Class Castle.MicroKernel.Lifestyle.Scoped.ThreadStaticLifetimeScope

Inheritance: ILifetimeScope
Afficher le fichier Open project: castleproject/Windsor Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetCachedInstance ( ComponentModel instance, ScopedInstanceActivationCallback createInstance ) : Burden
ObtainCurrentScope ( ) : ThreadStaticLifetimeScope
ThreadStaticLifetimeScope ( IKernel container ) : System
ThreadStaticLifetimeScope ( IWindsorContainer container ) : System

Private Methods

Méthode Description
SetCurrentScope ( ThreadStaticLifetimeScope lifetimeScope ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetCachedInstance() public méthode

public GetCachedInstance ( ComponentModel instance, ScopedInstanceActivationCallback createInstance ) : Burden
instance Castle.Core.ComponentModel
createInstance ScopedInstanceActivationCallback
Résultat Burden

ObtainCurrentScope() public static méthode

public static ObtainCurrentScope ( ) : ThreadStaticLifetimeScope
Résultat ThreadStaticLifetimeScope

ThreadStaticLifetimeScope() public méthode

public ThreadStaticLifetimeScope ( IKernel container ) : System
container IKernel
Résultat System

ThreadStaticLifetimeScope() public méthode

public ThreadStaticLifetimeScope ( IWindsorContainer container ) : System
container IWindsorContainer
Résultat System