public PerformanceBehavior(ILogger <TRequest> logger, IConfigConstants constants) { _stopwatch = new Stopwatch(); _logger = logger; _configConstants = constants; }
public DeleteCommandHandler(IConfigConstants constant, IMapper mapper, IUnitOfWork unitOfWork) : base(constant, unitOfWork, mapper) { }
public UpdateCommandValidatorTest(TenderFixture fixture) { _configConstants = fixture.ConfigConstants; }
public GetAllQueryTest(TenderFixture fixture) { _mapper = fixture.Mapper; _configConstants = fixture.ConfigConstants; _unitOfWork = fixture.UnitOfWork; }
public GetAllQueryHandler(IConfigConstants constant, IMapper mapper, IUnitOfWork unitOfWork) : base(constant, unitOfWork, mapper) { }
public AddCommandTest(TenderFixture fixture) { _mapper = fixture.Mapper; _configConstants = fixture.ConfigConstants; _unitOfWork = fixture.UnitOfWork; }
public DeleteCommandValidator(IConfigConstants constant) { this.RuleFor(v => v.Id).GreaterThan(0).WithMessage(constant.INVALID_TENDER_ID); }
public ApplicationBase(IConfigConstants configConstants, IUnitOfWork unitOfWork, IMapper mapper) { ConfigConstants = configConstants; UnitOfWork = unitOfWork; Mapper = mapper; }
public GetOneQueryValidator(IConfigConstants constant) { this.RuleFor(v => v.Id).GreaterThan(0).WithMessage(constant.INVALID_TENDER_ID); }
public AddCommandValidator(IConfigConstants constant) { this.RuleFor(v => v.Name).NotEmpty().WithMessage(constant.INVALID_TENDER_NAME); this.RuleFor(v => v.ContractNumber).NotEmpty().WithMessage(constant.INVALID_TENDER_CONTRACT_NUMBER); }
public GetOneQueryValidatorTest(TenderFixture fixture) { _configConstants = fixture.ConfigConstants; }