C# 클래스 Castle.MicroKernel.Lifestyle.AbstractLifestyleManager

상속: ILifestyleManager
파일 보기 프로젝트 열기: castleproject/Windsor

공개 메소드들

메소드 설명
Dispose ( ) : void

Invoked when the container gets disposed. The container will not call it multiple times in multithreaded environments. However it may be called at the same time when some out of band release mechanism is in progress. Resolving those potential issues is the task of implementors

Init ( IComponentActivator componentActivator, IKernel kernel, ComponentModel model ) : void
Release ( object instance ) : bool
Resolve ( CreationContext context, IReleasePolicy releasePolicy ) : object

보호된 메소드들

메소드 설명
CreateInstance ( CreationContext context, bool trackedExternally ) : Burden
Track ( Burden burden, IReleasePolicy releasePolicy ) : void

메소드 상세

CreateInstance() 보호된 메소드

protected CreateInstance ( CreationContext context, bool trackedExternally ) : Burden
context Castle.MicroKernel.Context.CreationContext
trackedExternally bool
리턴 Burden

Dispose() 공개 추상적인 메소드

Invoked when the container gets disposed. The container will not call it multiple times in multithreaded environments. However it may be called at the same time when some out of band release mechanism is in progress. Resolving those potential issues is the task of implementors
public abstract Dispose ( ) : void
리턴 void

Init() 공개 메소드

public Init ( IComponentActivator componentActivator, IKernel kernel, ComponentModel model ) : void
componentActivator IComponentActivator
kernel IKernel
model Castle.Core.ComponentModel
리턴 void

Release() 공개 메소드

public Release ( object instance ) : bool
instance object
리턴 bool

Resolve() 공개 메소드

public Resolve ( CreationContext context, IReleasePolicy releasePolicy ) : object
context Castle.MicroKernel.Context.CreationContext
releasePolicy IReleasePolicy
리턴 object

Track() 보호된 메소드

protected Track ( Burden burden, IReleasePolicy releasePolicy ) : void
burden Burden
releasePolicy IReleasePolicy
리턴 void