public static IPoolsBuilder WithCommandHandler <TCommandHandler, TCommand>(this IPoolsBuilder builder) where TCommandHandler : class, IHandleCommand <TCommand> where TCommand : ICommand => new PoolsCommandDecorator <TCommandHandler, TCommand>(builder);
public PoolsDecorator(IPoolsBuilder builder) { _builder = builder; }
public PoolsCommandDecorator(IPoolsBuilder builder) : base(builder) { }