IKernelInternal
Extended contract of kernel, used internally.
using Castle.Core;
using System;
using System.Collections;
namespace Castle.MicroKernel
{
public interface IKernelInternal : IKernel, IKernelEvents, IDisposable
{
IHandler AddCustomComponent(ComponentModel model);
IHandler AddCustomComponent(ComponentModel model, bool isMetaHandler);
IComponentActivator CreateComponentActivator(ComponentModel model);
ILifestyleManager CreateLifestyleManager(ComponentModel model, IComponentActivator activator);
IHandler LoadHandlerByName(string key, Type service, IDictionary arguments);
IHandler LoadHandlerByType(string key, Type service, IDictionary arguments);
IDisposable OptimizeDependencyResolution();
void RegisterHandler(string key, IHandler handler, bool skipRegistration);
object Resolve(Type service, IDictionary arguments, IReleasePolicy policy);
object Resolve(string key, Type service, IDictionary arguments, IReleasePolicy policy);
Array ResolveAll(Type service, IDictionary arguments, IReleasePolicy policy);
}
}