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

Inheritance: ILifetimeScope
Show file Open project: castleproject/Windsor Class Usage Examples

Public Methods

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

Private Methods

Method Description
SetCurrentScope ( ThreadStaticLifetimeScope lifetimeScope ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetCachedInstance() public method

public GetCachedInstance ( ComponentModel instance, ScopedInstanceActivationCallback createInstance ) : Burden
instance Castle.Core.ComponentModel
createInstance ScopedInstanceActivationCallback
return Burden

ObtainCurrentScope() public static method

public static ObtainCurrentScope ( ) : ThreadStaticLifetimeScope
return ThreadStaticLifetimeScope

ThreadStaticLifetimeScope() public method

public ThreadStaticLifetimeScope ( IKernel container ) : System
container IKernel
return System

ThreadStaticLifetimeScope() public method

public ThreadStaticLifetimeScope ( IWindsorContainer container ) : System
container IWindsorContainer
return System