public DeleteCategoryProcessStartedEventHandler( ISearchableCategoryIndexer categoryIndexer, ILogger <DeleteCategoryProcessStartedEventHandler> logger, IDeleteValidator deleteValidator, IEventPublisher eventPublisher, IEventStore <Aggregates.Category> eventStore) : base(eventPublisher, eventStore) { _categoryIndexer = categoryIndexer; _logger = logger; _deleteValidator = deleteValidator; }
public DeleteValidator(IDeleteValidator deleteValidator) { _deleteValidator = deleteValidator; }
public AsyncDeleteValidationDecorator(IAsyncDeleteOperator <TEntity, object> deleteOperator, IDeleteValidator <TEntity, object> validator) : base(deleteOperator, validator) { }
public Validator(IUpdateValidator updateValidator, ICreateValidator createValidator, IDeleteValidator deleteValidator) { this.updateValidator = updateValidator; this.createValidator = createValidator; this.deleteValidator = deleteValidator; }
public ModelStatePopulator(ICreateValidator <TModel> createValidator, IUpdateValidator <TModel, TKey> updateValidator, IDeleteValidator <TModel> deleteValidator) { _createValidator = createValidator ?? throw new ArgumentNullException(nameof(createValidator)); _updateValidator = updateValidator ?? throw new ArgumentNullException(nameof(updateValidator)); _deleteValidator = deleteValidator ?? throw new ArgumentNullException(nameof(deleteValidator)); }