コード例 #1
0
        public GenresValidatorTests()
        {
            _listQueryValidator      = new ListQueryValidator();
            _listBooksQueryValidator = new ListBooksQueryValidator();
            _detailsQueryValidator   = new DetailsQueryValidator();

            _addCommandValidator        = new AddCommandValidator();
            _updateCommandValidator     = new UpdateCommandValidator();
            _deleteOneCommandValidator  = new DeleteOneCommandValidator();
            _deleteManyCommandValidator = new DeleteManyCommandValidator();
        }
コード例 #2
0
        public DimensionsValidatorTests()
        {
            _listQueryValidator    = new ListQueryValidator();
            _detailsQueryValidator = new DetailsQueryValidator();

            _addCommandValidator             = new AddCommandValidator();
            _updateCommandValidator          = new UpdateCommandValidator();
            _updatePartiallyCommandValidator = new UpdatePartiallyCommandValidator();
            _deleteOneCommandValidator       = new DeleteOneCommandValidator();
            _deleteManyCommandValidator      = new DeleteManyCommandValidator();
        }
コード例 #3
0
        public AuthorsValidatorTests()
        {
            _listQueryValidator       = new ListQueryValidator();
            _listBooksQueryValidator  = new ListBooksQueryValidator();
            _listSeriesQueryValidator = new ListSeriesQueryValidator();
            _detailsQueryValidator    = new DetailsQueryValidator();

            _addCommandValidator             = new AddCommandValidator();
            _updatePartiallyCommandValidator = new UpdatePartiallyCommandValidator();
            _updateCommandValidator          = new UpdateCommandValidator();
            _deleteOneCommandValidator       = new DeleteOneCommandValidator();
            _deleteManyCommandValidator      = new DeleteManyCommandValidator();
        }
コード例 #4
0
        public BooksValidatorTests()
        {
            _listQueryValidator           = new ListQueryValidator();
            _listEditionQueryValidator    = new ListEditionQueryValidator();
            _detailsQueryValidator        = new DetailsQueryValidator();
            _detailsEditionQueryValidator = new DetailsEditionQueryValidator();

            _addCommandValidator        = new AddCommandValidator();
            _addEditionCommandValidator = new AddEditionCommandValidator();

            _updateCommandValidator        = new UpdateCommandValidator();
            _updateEditionCommandValidator = new UpdateEditionCommandValidator();

            _updatePartiallyCommandValidator        = new UpdatePartiallyCommandValidator();
            _updatePartiallyEditionCommandValidator = new UpdatePartiallyEditionCommandValidator();

            _deleteOneCommandValidator        = new DeleteOneCommandValidator();
            _deleteOneEditionCommandValidator = new DeleteOneEditionCommandValidator();

            _deleteManyCommandValidator        = new DeleteManyCommandValidator();
            _deleteManyEditionCommandValidator = new DeleteManyEditionCommandValidator();
        }