C# Класс Castle.MicroKernel.Handlers.DefaultHandler

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

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

Метод Описание
DefaultHandler ( ComponentModel model ) : System

Initializes a new instance of the DefaultHandler class.

Dispose ( ) : void
ReleaseCore ( Burden burden ) : bool

disposes the component instance (or recycle it)

Защищенные методы

Метод Описание
AssertNotWaitingForDependency ( ) : void
InitDependencies ( ) : void
Resolve ( CreationContext context, bool instanceRequired ) : object
ResolveCore ( CreationContext context, bool requiresDecommission, bool instanceRequired, Burden &burden ) : object

Returns an instance of the component this handler is responsible for

Приватные методы

Метод Описание
UnresolvableHandlerException ( ) : HandlerException

Описание методов

AssertNotWaitingForDependency() защищенный Метод

protected AssertNotWaitingForDependency ( ) : void
Результат void

DefaultHandler() публичный Метод

Initializes a new instance of the DefaultHandler class.
public DefaultHandler ( ComponentModel model ) : System
model Castle.Core.ComponentModel
Результат System

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

InitDependencies() защищенный Метод

protected InitDependencies ( ) : void
Результат void

ReleaseCore() публичный Метод

disposes the component instance (or recycle it)
public ReleaseCore ( Burden burden ) : bool
burden Burden
Результат bool

Resolve() защищенный Метод

protected Resolve ( CreationContext context, bool instanceRequired ) : object
context CreationContext
instanceRequired bool
Результат object

ResolveCore() защищенный Метод

Returns an instance of the component this handler is responsible for
protected ResolveCore ( CreationContext context, bool requiresDecommission, bool instanceRequired, Burden &burden ) : object
context CreationContext
requiresDecommission bool
instanceRequired bool
burden Burden
Результат object