C# Класс Castle.MicroKernel.Lifestyle.AbstractLifestyleManager

Наследование: ILifestyleManager
Показать файл Открыть проект

Открытые методы

Метод Описание
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