Пример #1
0
 public static IPoolsBuilder WithCommandHandler <TCommandHandler, TCommand>(this IPoolsBuilder builder)
     where TCommandHandler : class, IHandleCommand <TCommand>
     where TCommand : ICommand => new PoolsCommandDecorator <TCommandHandler, TCommand>(builder);
Пример #2
0
 public PoolsDecorator(IPoolsBuilder builder)
 {
     _builder = builder;
 }
Пример #3
0
 public PoolsCommandDecorator(IPoolsBuilder builder)
     : base(builder)
 {
 }