Пример #1
0
 public ICommandHandler GetHandler()
 {
     return(iocResolver.Resolve(HandlerType) as ICommandHandler);
 }
Пример #2
0
 public DirectCommandBus(Dependency.IIocResolver iocResolver)
 {
     dispatcher = iocResolver.Resolve <CommandDispatcher>();
 }
Пример #3
0
 public CommandDispatcher(Dependency.IIocResolver resolver)
 {
     logger = resolver.Resolve <ILogger>();
 }