public NinjectMessageHandlerFactory(IMessageCatalog catalog,
                                            IKernel kernel)
            : base(catalog)
        {
            Contract.Requires(catalog != null);
            Contract.Requires(kernel != null);

            _kernel = kernel;
        }
예제 #2
0
 protected virtual IMessageDispatcher CreateMessageDispatcher(IMessageCatalog catalog)
 {
     return(new MessageDispatcher(catalog));
 }
        public MessageHandlerFactory(IMessageCatalog catalog)
        {
            Contract.Requires(catalog != null);

            Catalog = catalog;
        }
예제 #4
0
 public void Init()
 {
     _catalog = new MessageCatalog();
 }