CreationContext
Used during a component request, passed along to the whole process.
This allow some data to be passed along the process, which is used
to detected cycled dependency graphs and now it's also being used
to provide arguments to components.
public CreationContext(Type requestedType, CreationContext parentContext, bool propagateInlineDependencies)
Initializes a new instance of the CreationContext class.
public CreationContext(IHandler handler, IReleasePolicy releasePolicy, Type requestedType, IDictionary additionalArguments, ITypeConverter converter, CreationContext parent)
Initializes a new instance of the CreationContext class.
Creates a new, empty CreationContext instance.
public virtual bool CanResolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
public ResolutionContext EnterResolutionContext(IHandler handlerBeingResolved, bool requiresDecommission)
public ResolutionContext EnterResolutionContext(IHandler handlerBeingResolved, bool trackContext, bool requiresDecommission)
Method used by handlers to test whether they are being resolved in the context.
public virtual object Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)