INamingSubSystem
Contract for SubSystem that wishes to keep and coordinate
component registration.
using System;
namespace Castle.MicroKernel.SubSystems.Naming
{
public interface INamingSubSystem : ISubSystem
{
int ComponentCount { get; }
void AddHandlerSelector(IHandlerSelector selector);
void AddHandlersFilter(IHandlersFilter filter);
bool Contains(string name);
bool Contains(Type service);
IHandler[] GetAllHandlers();
IHandler[] GetAssignableHandlers(Type service);
IHandler GetHandler(string name);
IHandler GetHandler(Type service);
IHandler[] GetHandlers(Type service);
void Register(IHandler handler);
}
}