<PackageReference Include="castle.windsor" Version="2.5.1" />

DefaultKernel

public virtual IConfigurationStore ConfigurationStore { get; set; }

public GraphNode[] GraphNodes { get; }

public virtual object this[string key] { get; }

public virtual object this[Type service] { get; }

protected INamingSubSystem NamingSubSystem { get; }

public virtual IKernel Parent { get; set; }

public IProxyFactory ProxyFactory { get; set; }

public virtual IReleasePolicy ReleasePolicy { get; set; }

public IDependencyResolver Resolver { get; }

public DefaultKernel()

public DefaultKernel(IDependencyResolver resolver, IProxyFactory proxyFactory)

public DefaultKernel(IProxyFactory proxyFactory)

public virtual void AddChildKernel(IKernel childKernel)

public virtual void AddComponent(string key, Type classType)

public void AddComponent(string key, Type classType, LifestyleType lifestyle)

public void AddComponent(string key, Type classType, LifestyleType lifestyle, bool overwriteLifestyle)

public virtual void AddComponent(string key, Type serviceType, Type classType)

public void AddComponent(string key, Type serviceType, Type classType, LifestyleType lifestyle)

public void AddComponent(string key, Type serviceType, Type classType, LifestyleType lifestyle, bool overwriteLifestyle)

public void AddComponent<T>()

public void AddComponent<T>(LifestyleType lifestyle)

public void AddComponent<T>(LifestyleType lifestyle, bool overwriteLifestyle)

public void AddComponent<T>(Type serviceType)

public void AddComponent<T>(Type serviceType, LifestyleType lifestyle)

public void AddComponent<T>(Type serviceType, LifestyleType lifestyle, bool overwriteLifestyle)

public void AddComponentInstance(string key, object instance)

public void AddComponentInstance(string key, Type serviceType, object instance)

public void AddComponentInstance(string key, Type serviceType, Type classType, object instance)

public void AddComponentInstance<T>(object instance)

public void AddComponentInstance<T>(Type serviceType, object instance)

public virtual void AddComponentWithExtendedProperties(string key, Type classType, IDictionary parameters)

public virtual void AddComponentWithExtendedProperties(string key, Type serviceType, Type classType, IDictionary parameters)

public virtual void AddCustomComponent(ComponentModel model)

public virtual IKernel AddFacility(string key, IFacility facility)

public IKernel AddFacility<T>(string key) where T : IFacility

public IKernel AddFacility<T>(string key, Action<T> onCreate) where T : IFacility

public IKernel AddFacility<T>(string key, Func<T, object> onCreate) where T : IFacility

public IKernel AddFacility<T>() where T : IFacility

public IKernel AddFacility<T>(Action<T> onCreate) where T : IFacility

public IKernel AddFacility<T>(Func<T, object> onCreate) where T : IFacility

protected void AddHandler(object key, Delegate value)

public void AddHandlerSelector(IHandlerSelector selector)

public virtual void AddSubSystem(string key, ISubSystem subsystem)

protected CreationContext CreateCreationContext(IHandler handler, Type typeToExtractGenericArguments, IDictionary additionalArguments)

public virtual void Dispose()

protected void DisposeHandler(IHandler handler)

public virtual IHandler[] GetAssignableHandlers(Type service)

protected TEventHandler GetEventHandlers<TEventHandler>(object key)

public virtual IFacility[] GetFacilities()

public virtual IHandler GetHandler(string key)

public virtual IHandler GetHandler(Type service)

public virtual IHandler[] GetHandlers(Type service)

public object GetService(Type serviceType)

public T GetService<T>()

public virtual ISubSystem GetSubSystem(string key)

public virtual bool HasComponent(string key)

public virtual bool HasComponent(Type serviceType)

protected virtual void RaiseAddedAsChildKernel()

protected virtual void RaiseComponentCreated(ComponentModel model, object instance)

protected virtual void RaiseComponentDestroyed(ComponentModel model, object instance)

protected virtual void RaiseComponentModelCreated(ComponentModel model)

protected virtual void RaiseComponentRegistered(string key, IHandler handler)

protected virtual void RaiseComponentUnregistered(string key, IHandler handler)

protected virtual void RaiseDependencyResolving(ComponentModel client, DependencyModel model, object dependency)

public virtual void RaiseHandlerRegistered(IHandler handler)

public virtual void RaiseHandlersChanged()

protected virtual void RaiseRemovedAsChildKernel()

public IKernel Register(IRegistration[] registrations)

public void RegisterCustomDependencies(Type service, IDictionary dependencies)

public void RegisterCustomDependencies(Type service, object dependenciesAsAnonymousType)

public void RegisterCustomDependencies(string key, IDictionary dependencies)

public void RegisterCustomDependencies(string key, object dependenciesAsAnonymousType)

protected void RegisterHandler(string key, IHandler handler)

protected void RegisterHandler(string key, IHandler handler, bool skipRegistration)

protected virtual void RegisterSubSystems()

public virtual void ReleaseComponent(object instance)

public virtual void RemoveChildKernel(IKernel childKernel)

public virtual bool RemoveComponent(string key)

protected void RemoveHandler(object key, Delegate value)

public virtual object Resolve(string key, Type service)

public virtual object Resolve(string key, Type service, IDictionary arguments)

public T Resolve<T>(IDictionary arguments)

public T Resolve<T>(object argumentsAsAnonymousType)

public T Resolve<T>()

public T Resolve<T>(string key)

public T Resolve<T>(string key, IDictionary arguments)

public object Resolve(Type service)

public object Resolve(Type service, IDictionary arguments)

public object Resolve(Type service, object argumentsAsAnonymousType)

public object Resolve(string key, IDictionary arguments)

public object Resolve(string key, object argumentsAsAnonymousType)

public virtual object Resolve(string key, Type service, object argumentsAsAnonymousType)

public Array ResolveAll(Type service)

public Array ResolveAll(Type service, IDictionary arguments)

public Array ResolveAll(Type service, object argumentsAsAnonymousType)

public TService[] ResolveAll<TService>(object argumentsAsAnonymousType)

public TService[] ResolveAll<TService>(IDictionary arguments)

public TService[] ResolveAll<TService>()

protected object ResolveComponent(IHandler handler)

protected object ResolveComponent(IHandler handler, Type service)

protected object ResolveComponent(IHandler handler, IDictionary additionalArguments)

protected object ResolveComponent(IHandler handler, Type service, IDictionary additionalArguments)

protected object TryResolveComponent(IHandler handler, Type service, IDictionary additionalArguments)

protected virtual IHandler WrapParentHandler(IHandler parentHandler)