예제 #1
0
 public NoteLogic(IRepository <Note> notesRepository, ImageLogic imageLogic, IMetaDataRepository metadataRepository, IServiceBusQueue serviceBusQueue)
 {
     _notesRepository    = notesRepository;
     _imageLogic         = imageLogic;
     _metadataRepository = metadataRepository;
     _serviceBusQueue    = serviceBusQueue;
 }
예제 #2
0
 public MetaDataService(
     ILogger <MetaDataService> logger,
     IOptionsMonitor <AppOptions> appOptions,
     IMetaDataRepository metaDataRepository) : base(logger, appOptions)
 {
     Guard.Against.Null(metaDataRepository, nameof(metaDataRepository));
     _metaDataRepository = metaDataRepository;
 }
예제 #3
0
 public MangaIndex(IMangaDownloader manager, IMetaDataRepository metaDataService, IMemCache memCache)
 {
     _manager         = manager;
     _metaDataService = metaDataService;
     _memCache        = memCache;
     MyDictionary     = CreateDictionary();
     //todo
 }
예제 #4
0
        public HomeController(IMetaDataRepository metadataRepostory, IArtRepository artRepository)
        {
            _metadataRepostory = metadataRepostory;
            _siteMetaData      = _metadataRepostory.Read();

            _artRepository = artRepository;
            _artCollection = _artRepository.Read();
        }
 protected ParameterMetaDataRepository(
    IMetaDataRepository<TParameterMetaData> flatParameterMetaDataRepository,
    IFlatContainerRepository flatContainerRepository,
    IValueOriginRepository valueOriginRepository)
 {
    _flatParameterMetaDataRepository = flatParameterMetaDataRepository;
    _flatContainerRepository = flatContainerRepository;
    _valueOriginRepository = valueOriginRepository;
 }
예제 #6
0
 public AppleIapService(
     GlobalSettings globalSettings,
     IHostingEnvironment hostingEnvironment,
     IMetaDataRepository metaDataRespository,
     ILogger <AppleIapService> logger)
 {
     _globalSettings      = globalSettings;
     _hostingEnvironment  = hostingEnvironment;
     _metaDataRespository = metaDataRespository;
     _logger = logger;
 }
예제 #7
0
 protected ParameterMetaDataRepository(
     IMetaDataRepository <TParameterMetaData> flatParameterMetaDataRepository,
     IFlatContainerRepository flatContainerRepository,
     IValueOriginRepository valueOriginRepository,
     IFlatContainerParameterDescriptorConditionRepository flatContainerParameterDescriptorConditionRepository,
     ICriteriaConditionToDescriptorConditionMapper descriptorConditionMapper)
 {
     _flatParameterMetaDataRepository = flatParameterMetaDataRepository;
     _flatContainerRepository         = flatContainerRepository;
     _valueOriginRepository           = valueOriginRepository;
     _flatContainerParameterDescriptorConditionRepository = flatContainerParameterDescriptorConditionRepository;
     _descriptorConditionMapper = descriptorConditionMapper;
 }
 public GameService(
     IGameRepository gameRepository,
     IImageRepository imageRepository,
     IRoundRepository roundRepository,
     IRepository <ImageInRoundEntity> imageInRoundRepository,
     IRepository <UserEntity> userRepository,
     IMetaDataRepository metaDataRepository)
 {
     _gameRepository         = gameRepository;
     _imageRepository        = imageRepository;
     _roundRepository        = roundRepository;
     _imageInRoundRepository = imageInRoundRepository;
     _userRepository         = userRepository;
     _metaDataRepository     = metaDataRepository;
     IMAGES_PER_ROUND        = _metaDataRepository.GetByName <int>(MetaDataEnum.ImagesPerRound);
     ROUNDS_PER_GAME         = _metaDataRepository.GetByName <int>(MetaDataEnum.RoundsPerGame);
 }
예제 #9
0
 public QueryController(IMetaDataRepository metaDataRepository, IThumbnailRepository thumbnailRepository)
 {
     _metaDataRepository  = metaDataRepository;
     _thumbnailRepository = thumbnailRepository;
 }
 public MetaDataController(IMapper mapper, IMetaDataRepository metaDataRepository)
 {
     _metaDataRepository = metaDataRepository;
     _mapper             = mapper;
 }
예제 #11
0
 public MetaDataService(IMetaDataRepository data)
 {
     MetaDataRepository = data;
 }
예제 #12
0
 public IndexController(IMetaDataRepository metadataRepository)
 {
     _metadataRepository = metadataRepository;
     _siteMetadata       = _metadataRepository.Read();
 }
예제 #13
0
 public MetaDataHelper(IMetaDataRepository metaDataRepository, IMemoryCache cache)
 {
     _metaDataRepository = metaDataRepository;
     _cache = cache;
 }
예제 #14
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="metaDataRepository">metadata repository object to use in other methods</param>
 public MetaDataService(IMetaDataRepository metaDataRepository)
 {
     _metaDataRepository = metaDataRepository;
 }
예제 #15
0
 public ImageLogic(IRepository <Image> imageRepository, IMetaDataRepository metadataRepository)
 {
     _imageRepository    = imageRepository;
     _metadataRepository = metadataRepository;
 }
예제 #16
0
 protected ParameterMetaDataRepository(IMetaDataRepository <TParameterMetaData> flatParameterMetaDataRepository, IFlatContainerRepository flatContainerRepository)
 {
     _flatParameterMetaDataRepository = flatParameterMetaDataRepository;
     _flatContainerRepository         = flatContainerRepository;
 }