Пример #1
0
 public MessageController(IMessageRepository messageRepository, IUserRepository userRepository, IErrorLogRepository errorLogRepository, IBlackListRepository blackListRepository)
 {
     _messageRepository   = messageRepository;
     _userRepository      = userRepository;
     _errorLogRepository  = errorLogRepository;
     _blackListRepository = blackListRepository;
 }
 public CreateSnapshotUseCase(ILog log, IPotRepository potRepository,
                              IBlackListRepository blackListRepository, ISnapshotRepository snapshotRepository)
 {
     this.log                 = log ?? throw new ArgumentNullException(nameof(log));
     this.potRepository       = potRepository ?? throw new ArgumentNullException(nameof(potRepository));
     this.blackListRepository = blackListRepository ?? throw new ArgumentNullException(nameof(blackListRepository));
     this.snapshotRepository  = snapshotRepository ?? throw new ArgumentNullException(nameof(snapshotRepository));
 }
 public BlackListController(IBlackListRepository blackListRepository, IUserRepository userRepository, IErrorLogRepository errorLogRepository)
 {
     _blackListRepository = blackListRepository;
     _userRepository      = userRepository;
     _errorLogRepository  = errorLogRepository;
 }
Пример #4
0
 public HotelPropertyService(IBlackListRepository blackListRepository,
                             IPropertyRepository propertyRepository)
 {
     _blackListRepository = blackListRepository;
     _propertyRepository  = propertyRepository;
 }
 public PresentBlackListUseCase(IBlackListRepository blackListRepository)
 {
     this.blackListRepository = blackListRepository ?? throw new ArgumentNullException(nameof(blackListRepository));
 }
Пример #6
0
 public BlackListService(IBlackListRepository blackListRepository,
                         IBlockchainApiClientProvider blockchainApiClientProvider)
 {
     _blackListRepository         = blackListRepository;
     _blockchainApiClientProvider = blockchainApiClientProvider;
 }
 public RemoveDuplicatesUseCase(ISnapshotRepository snapshotRepository, IBlackListRepository blackListRepository)
 {
     this.snapshotRepository  = snapshotRepository ?? throw new ArgumentNullException(nameof(snapshotRepository));
     this.blackListRepository = blackListRepository ?? throw new ArgumentNullException(nameof(blackListRepository));
 }
 public FindDuplicatesUseCase(ISnapshotRepository snapshotRepository, IBlackListRepository blackListRepository, ILog log)
 {
     this.snapshotRepository  = snapshotRepository ?? throw new ArgumentNullException(nameof(snapshotRepository));
     this.blackListRepository = blackListRepository ?? throw new ArgumentNullException(nameof(blackListRepository));
     this.log = log ?? throw new ArgumentNullException(nameof(log));
 }
 public RemoveBlackPathUseCase(IBlackListRepository blackListRepository)
 {
     this.blackListRepository = blackListRepository ?? throw new ArgumentNullException(nameof(blackListRepository));
 }