<PackageReference Include="Castle.Windsor" Version="5.0.0-beta001" />

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.

Initializes a new instance of the DefaultComponentActivator class.

protected virtual bool CanSatisfyDependency(CreationContext context, DependencyModel dependency)

protected virtual object[] CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)

protected virtual object CreateInstance(CreationContext context, ConstructorCandidate constructor, object[] arguments)

protected object CreateInstanceCore(ConstructorCandidate constructor, object[] arguments, Type implType)

protected virtual object Instantiate(CreationContext context)

protected virtual void SetUpProperties(object instance, CreationContext context)