IComponentActivator
Implements the instance creation logic. The default
implementation should rely on an ordinary call to
Activator.CreateInstance().
using Castle.MicroKernel.Context;
namespace Castle.MicroKernel
{
public interface IComponentActivator
{
object Create(CreationContext context, Burden burden);
void Destroy(object instance);
}
}