Example #1
0
 public EndpointValidator(ReadCursor cursor, ValidatorFactory factory, ILogger <EndpointValidator> logger)
     : base(factory, logger)
 {
     Cursor = cursor ?? throw new ArgumentNullException(nameof(cursor));
 }
Example #2
0
 public FlatContainerEndpoint(ReadCursor cursor, ValidatorFactory factory, ILogger <FlatContainerEndpoint> logger)
     : base(cursor, factory, logger)
 {
 }
 /// <summary>
 /// Returns an <see cref="IEnumerable{IValidationTest}"/> representing all <see cref="IValidator"/>s that should be run.
 /// </summary>
 protected abstract IEnumerable <IValidator> GetValidators(ValidatorFactory factory);
 public AggregateValidator(ValidatorFactory factory, ILogger <AggregateValidator> logger)
 {
     Logger      = logger ?? throw new ArgumentNullException(nameof(logger));
     _validators = GetValidators(factory);
 }
 public RegistrationEndpoint(ReadCursor cursor, ValidatorFactory factory, ILogger <RegistrationEndpoint> logger)
     : base(cursor, factory, logger)
 {
 }