C# Class Castle.MicroKernel.CreationContext

Inheritance: System.MarshalByRefObject, ISubDependencyResolver
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
CanResolve ( CreationContext context, ISubDependencyResolver parentResolver, ComponentModel model, DependencyModel dependency ) : bool
CreationContext ( DependencyModel dependencies ) : System
CreationContext ( IHandler handler, DependencyModelCollection dependencies, IList handlersChain ) : System
CreationContext ( IHandler handler, IDictionary additionalArguments ) : System
CreationContext ( IHandler handler, Type typeToExtractGenericArguments, CreationContext parentContext ) : System
CreationContext ( IHandler handler, Type typeToExtractGenericArguments, IDictionary additionalArguments ) : System
HandlerIsCurrentlyBeingResolved ( IHandler handlerToTest ) : bool

Check if we are now in the middle of resolving this handler, and as such, we shouldn't try to resolve that.

Resolve ( CreationContext context, ISubDependencyResolver parentResolver, ComponentModel model, DependencyModel dependency ) : object
ResolvingHandler ( IHandler handlerBeingResolved ) : IDisposable

Private Methods

Méthode Description
ExtractGenericArguments ( Type typeToExtractGenericArguments ) : System.Type[]

Method Details

CanResolve() public méthode

public CanResolve ( CreationContext context, ISubDependencyResolver parentResolver, ComponentModel model, DependencyModel dependency ) : bool
context CreationContext
parentResolver ISubDependencyResolver
model Castle.Core.ComponentModel
dependency Castle.Core.DependencyModel
Résultat bool

CreationContext() public méthode

public CreationContext ( DependencyModel dependencies ) : System
dependencies Castle.Core.DependencyModel
Résultat System

CreationContext() public méthode

public CreationContext ( IHandler handler, DependencyModelCollection dependencies, IList handlersChain ) : System
handler IHandler
dependencies Castle.Core.DependencyModelCollection
handlersChain IList
Résultat System

CreationContext() public méthode

public CreationContext ( IHandler handler, IDictionary additionalArguments ) : System
handler IHandler
additionalArguments IDictionary
Résultat System

CreationContext() public méthode

public CreationContext ( IHandler handler, Type typeToExtractGenericArguments, CreationContext parentContext ) : System
handler IHandler
typeToExtractGenericArguments System.Type
parentContext CreationContext
Résultat System

CreationContext() public méthode

public CreationContext ( IHandler handler, Type typeToExtractGenericArguments, IDictionary additionalArguments ) : System
handler IHandler
typeToExtractGenericArguments System.Type
additionalArguments IDictionary
Résultat System

HandlerIsCurrentlyBeingResolved() public méthode

Check if we are now in the middle of resolving this handler, and as such, we shouldn't try to resolve that.
public HandlerIsCurrentlyBeingResolved ( IHandler handlerToTest ) : bool
handlerToTest IHandler
Résultat bool

Resolve() public méthode

public Resolve ( CreationContext context, ISubDependencyResolver parentResolver, ComponentModel model, DependencyModel dependency ) : object
context CreationContext
parentResolver ISubDependencyResolver
model Castle.Core.ComponentModel
dependency Castle.Core.DependencyModel
Résultat object

ResolvingHandler() public méthode

public ResolvingHandler ( IHandler handlerBeingResolved ) : IDisposable
handlerBeingResolved IHandler
Résultat IDisposable