Пример #1
0
 public void Handle(Action <ITypedMessage <T> > handler)
 {
     _host.RegisterTypedHandler(typeof(T), _module.GetType());
 }
 public void Handle(Action <ITypedMessage <T> > handler)
 {
     _context.RegisterHandler(typeof(T), new TypedMessageHandler <T>(handler, _module.GetType()));
 }
 public void Handle(Action <ITypedMessage <T> > handler)
 {
     _host.PathHandlers.Add(_path, _module.GetType());
 }