Exemplo n.º 1
0
 public LifetimeScopeCommandHandlerProxy(
     IScopeStarter scopeStarter,
     Func <ICommandHandler <TCommand> > decorateeFactory)
 {
     _scopeStarter     = scopeStarter;
     _decorateeFactory = decorateeFactory;
 }
 public LifetimeScopeQueryHandlerProxy(
     IScopeStarter scopeStarter,
     Func <IQueryHandler <TQuery, TResult> > decorateeFactory)
 {
     _scopeStarter     = scopeStarter;
     _decorateeFactory = decorateeFactory;
 }