public TableBuilderController(
     ITableBuilderService tableBuilderService,
     IDataBlockService dataBlockService,
     IPersistenceHelper <ContentDbContext> contentPersistenceHelper)
 {
     _tableBuilderService      = tableBuilderService;
     _dataBlockService         = dataBlockService;
     _contentPersistenceHelper = contentPersistenceHelper;
 }
Exemple #2
0
 public TableBuilderController(
     ITableBuilderService tableBuilderService,
     IPersistenceHelper <ContentDbContext> contentPersistenceHelper,
     IUserService userService)
 {
     _tableBuilderService      = tableBuilderService;
     _contentPersistenceHelper = contentPersistenceHelper;
     _userService = userService;
 }
Exemple #3
0
 public DataBlockService(
     ContentDbContext contentDbContext,
     ITableBuilderService tableBuilderService,
     IUserService userService)
 {
     _contentDbContext    = contentDbContext;
     _tableBuilderService = tableBuilderService;
     _userService         = userService;
 }
Exemple #4
0
 public TableBuilderController(ITableBuilderService tableBuilderService,
                               IAttributeMetaService attributeMetaService,
                               ICharacteristicMetaService characteristicMetaService,
                               IMapper mapper)
 {
     _tableBuilderService       = tableBuilderService;
     _attributeMetaService      = attributeMetaService;
     _characteristicMetaService = characteristicMetaService;
     _mapper = mapper;
 }
        private TableBuilderController BuildTableBuilderController(
            ITableBuilderService tableBuilderService = null,
            IPersistenceHelper <ContentDbContext> contentPersistenceHelper = null,
            IUserService userService = null)

        {
            return(new TableBuilderController(
                       tableBuilderService ?? new Mock <ITableBuilderService>().Object,
                       contentPersistenceHelper ?? MockUtils.MockPersistenceHelper <ContentDbContext>().Object,
                       userService ?? MockUtils.AlwaysTrueUserService().Object
                       ));
        }
Exemple #6
0
 public PermalinkService(ITableBuilderService tableBuilderService,
                         IBlobStorageService blobStorageService,
                         ISubjectRepository subjectRepository,
                         IReleaseRepository releaseRepository,
                         IMapper mapper)
 {
     _tableBuilderService = tableBuilderService;
     _blobStorageService  = blobStorageService;
     _subjectRepository   = subjectRepository;
     _releaseRepository   = releaseRepository;
     _mapper = mapper;
 }
Exemple #7
0
 public PermalinkService(ITableBuilderService tableBuilderService,
                         IBlobStorageService blobStorageService,
                         ISubjectService subjectService,
                         IReleaseService releaseService,
                         IMapper mapper)
 {
     _tableBuilderService = tableBuilderService;
     _blobStorageService  = blobStorageService;
     _subjectService      = subjectService;
     _releaseService      = releaseService;
     _mapper = mapper;
 }
 public FastTrackService(
     ITableBuilderService tableBuilderService,
     IBlobStorageService blobStorageService,
     ISubjectService subjectService,
     ITableStorageService tableStorageService,
     IMapper mapper)
 {
     _tableBuilderService = tableBuilderService;
     _blobStorageService  = blobStorageService;
     _subjectService      = subjectService;
     _tableStorageService = tableStorageService;
     _mapper = mapper;
 }
 public FastTrackService(
     ITableBuilderService tableBuilderService,
     IBlobStorageService blobStorageService,
     ITableStorageService tableStorageService,
     IReleaseRepository releaseRepository,
     IMapper mapper)
 {
     _tableBuilderService = tableBuilderService;
     _blobStorageService  = blobStorageService;
     _tableStorageService = tableStorageService;
     _releaseRepository   = releaseRepository;
     _mapper = mapper;
 }