C# Class Castle.MicroKernel.Handlers.DefaultHandler

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

Méthodes publiques

Méthode Description
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)

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
UnresolvableHandlerException ( ) : HandlerException

Method Details

AssertNotWaitingForDependency() protected méthode

protected AssertNotWaitingForDependency ( ) : void
Résultat void

DefaultHandler() public méthode

Initializes a new instance of the DefaultHandler class.
public DefaultHandler ( ComponentModel model ) : System
model Castle.Core.ComponentModel
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

InitDependencies() protected méthode

protected InitDependencies ( ) : void
Résultat void

ReleaseCore() public méthode

disposes the component instance (or recycle it)
public ReleaseCore ( Burden burden ) : bool
burden Burden
Résultat bool

Resolve() protected méthode

protected Resolve ( CreationContext context, bool instanceRequired ) : object
context CreationContext
instanceRequired bool
Résultat object

ResolveCore() protected méthode

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
Résultat object