DefaultComponentActivator
Standard implementation of IComponentActivator.
Handles the selection of the best constructor, fills the
writable properties the component exposes, run the commission
and decommission lifecycles, etc.
public DefaultComponentActivator(ComponentModel model, IKernel kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction)
Initializes a new instance of the DefaultComponentActivator class.
protected virtual object[] CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context, out Type signature)
protected virtual object CreateInstance(CreationContext context, object[] arguments, Type[] signature)