Ejemplo n.º 1
0
        public SystemUserQuery(IDatabaseGateway databaseGateway, ISystemUserQueryFactory queryFactory)
        {
            Guard.AgainstNull(databaseGateway, "databaseGateway");
            Guard.AgainstNull(queryFactory, "queryFactory");

            _databaseGateway = databaseGateway;
            _queryFactory    = queryFactory;
        }
Ejemplo n.º 2
0
        public SystemUserProjectionQuery(IDatabaseGateway databaseGateway, ISystemUserQueryFactory queryFactory)
        {
            Guard.AgainstNull(databaseGateway, nameof(databaseGateway));
            Guard.AgainstNull(queryFactory, nameof(queryFactory));

            _databaseGateway = databaseGateway;
            _queryFactory    = queryFactory;
        }
Ejemplo n.º 3
0
        public SystemUserQuery(IDatabaseGateway databaseGateway, ISystemUserQueryFactory queryFactory,
                               IQueryMapper queryMapper)
        {
            Guard.AgainstNull(databaseGateway, nameof(databaseGateway));
            Guard.AgainstNull(queryFactory, nameof(queryFactory));
            Guard.AgainstNull(queryMapper, nameof(queryMapper));

            _databaseGateway = databaseGateway;
            _queryFactory    = queryFactory;
            _queryMapper     = queryMapper;
        }