public NinjectMessageHandlerFactory(IMessageCatalog catalog, IKernel kernel) : base(catalog) { Contract.Requires(catalog != null); Contract.Requires(kernel != null); _kernel = kernel; }
protected virtual IMessageDispatcher CreateMessageDispatcher(IMessageCatalog catalog) { return(new MessageDispatcher(catalog)); }
public MessageHandlerFactory(IMessageCatalog catalog) { Contract.Requires(catalog != null); Catalog = catalog; }
public void Init() { _catalog = new MessageCatalog(); }