public NotificationConsumerService(RabbitMQMessagingConnectionFactory connectionFactory, IOptions <NotificationOptions> options, INoSqlRepository <NotificationDto> mongoRepository)
 {
     this.mongoRepository   = mongoRepository;
     this.options           = options.Value;
     this.connectionFactory = connectionFactory;
     InitializeRabbitMqListener();
 }
Example #2
0
 public FileHistoryService(
     INoSqlRepository <FileHistory> fileHistoryRepository,
     INoSqlRepository <File> fileRepository,
     UserService userService,
     IMapper mapper, ILogger <FileHistoryService> logger)
 {
     _fileHistoryRepository = fileHistoryRepository;
     _userService           = userService;
     _fileRepository        = fileRepository;
     _mapper = mapper;
     _logger = logger;
 }
Example #3
0
 protected Service(INoSqlRepository <TEntity, TId> repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Example #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="repository">Repository</param>
 /// <param name="noqlRepository">NoSql Repository</param>
 /// <param name="featureClass">FeatureClass name</param>
 public NoSqlCache(IRepository repository, INoSqlRepository noqlRepository, string featureClass)
 {
     this._repository = repository;
     this._noSqlRepository = noqlRepository;
     this._featureName = featureClass;
 }
 public TableStorageController(INoSqlRepository <Product> noSqlRepository)
 {
     this.noSqlRepository = noSqlRepository;
 }
Example #6
0
 public InfoService(IdeContext context, INoSqlRepository <File> fileRepository)
 {
     _context        = context;
     _fileRepository = fileRepository;
 }
Example #7
0
 public NoSqlRepository(NoSQLContext context, Options options, ISerializerFactory serializerFactory, ITypeVersioner versioner)
 {
     _store = new NoSqlRepository(context, options, serializerFactory, versioner);
 }
 public NotificationService(IMessageQueueService messageQueueService, IOptions <NotificationOptions> options, INoSqlRepository <NotificationDto> mongoRepository)
 {
     this.messageQueueService = messageQueueService;
     this.mongoRepository     = mongoRepository;
     this.options             = options.Value;
 }
Example #9
0
 protected NoSqlService(INoSqlRepository <TModel, TId> repository, IMapper mapper)
     : base(repository, mapper)
 {
 }