public Game(ICardService cardService, INotificationFactory notificationFactory, string gameId) { _cardService = cardService; _notificationFactory = notificationFactory; GameId = gameId; Task.Run(Setup).Wait(); }
public LoginController( INotificationFactory notificationFactory, IAuthenticationService authenticationService) { this.NotificationFactory = notificationFactory; this.AuthenticationService = authenticationService; }
public NotificationServiceClient( INotificationFactory factory, IConnectionSettings settings) { _cancellation = new CancellationTokenSource(); _factory = factory; _settings = settings; }
/// <summary> /// Constructor. /// </summary> /// <param name="store"></param> /// <param name="factory"></param> public NotificationRepository(INotificationStore store, INotificationFactory factory) { if (store == null || factory == null) { throw new ArgumentNullOrEmptyException(); } _store = store; _factory = factory; }
public NotificationProcessor( INotificationRepository repository, INotificationFactory factory, ILogger <NotificationProcessor> logger) { _repository = repository; _factory = factory; _logger = logger; }
public NotificationService ( IUnitOfWork unitOfWork, INotificationFactory notificationFactory, INotificationRepository notificationRepository ) { _unitOfWork = unitOfWork; _notificationFactory = notificationFactory; _notificationRepository = notificationRepository; }
public ServiceActionsHandler(IClientsManagement clientsManagement, INotificationFactory notificationFactory) { _clientsManagement = clientsManagement; _notificationFactory = notificationFactory; _serviceActionsQueueProcessingTimer = new Timer(1000); _serviceActionsQueueProcessingTimer.Elapsed += _executeActionFromQueueOnTimerElapsed; _serviceActionsQueueProcessingTimer.Enabled = true; _serviceActionsQueueProcessingTimer.AutoReset = false; _serviceActionsQueueProcessingTimer.Start(); }
public TagService(ITagRepository repo, IEventAggregator eventAggregator, INotificationFactory notificationFactory, IIndexerFactory indexerFactory, IIndexerProxyFactory indexerProxyFactory) { _repo = repo; _eventAggregator = eventAggregator; _notificationFactory = notificationFactory; _indexerFactory = indexerFactory; _indexerProxyFactory = indexerProxyFactory; }
public TagService(ITagRepository repo, IEventAggregator eventAggregator, IDelayProfileService delayProfileService, INotificationFactory notificationFactory, IReleaseProfileService releaseProfileService, ISeriesService seriesService) { _repo = repo; _eventAggregator = eventAggregator; _delayProfileService = delayProfileService; _notificationFactory = notificationFactory; _releaseProfileService = releaseProfileService; _seriesService = seriesService; }
/// <summary> /// Create new instance. /// </summary> public NotificationService(INotificationClient notificationClient, INotificationRegistrationRepository notificationRegistrationRepository, DispatchManager dispatchManager, IUserRepository userRepository, INotificationFactory notificationFactory, ILogger <NotificationService> logger) { _notificationClient = notificationClient ?? throw new ArgumentNullException(nameof(notificationClient)); _notificationRegistrationRepository = notificationRegistrationRepository ?? throw new ArgumentNullException(nameof(notificationRegistrationRepository)); _dispatchManager = dispatchManager ?? throw new ArgumentNullException(nameof(dispatchManager)); _userRepository = userRepository ?? throw new ArgumentNullException(nameof(userRepository)); _notificationFactory = notificationFactory ?? throw new ArgumentNullException(nameof(notificationFactory)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public UserConfigurationWindowViewModel( IMonitors monitors, INotificationSettings notificationSettings, IEventAggregator eventAggregator, INotificationFactory notificationFactory) { this.monitors = monitors; this.notificationSettings = notificationSettings; this.eventAggregator = eventAggregator; this.notificationFactory = notificationFactory; CancelCommand = new DelegateCommand(OnCancel); SaveCommand = new DelegateCommand(OnSave); }
public Notifications( IEventAggregator eventAggregator, INotificationFactory notificationFactory) { this.eventAggregator = eventAggregator; this.notificationFactory = notificationFactory; this.eventAggregator .GetEvent <NotificationEvents.CloseNotification>() .Subscribe(OnClosed); this.eventAggregator .GetEvent <NotificationEvents.ClickNotification>() .Subscribe(OnClicked); }
public TagService(ITagRepository repo, IEventAggregator eventAggregator, IDelayProfileService delayProfileService, ImportListFactory importListFactory, INotificationFactory notificationFactory, IReleaseProfileService releaseProfileService, IArtistService artistService) { _repo = repo; _eventAggregator = eventAggregator; _delayProfileService = delayProfileService; _importListFactory = importListFactory; _notificationFactory = notificationFactory; _releaseProfileService = releaseProfileService; _artistService = artistService; }
public TagService(ITagRepository repo, IEventAggregator eventAggregator, IDelayProfileService delayProfileService, IImportListFactory importListFactory, INotificationFactory notificationFactory, IRestrictionService restrictionService, IMovieService movieService) { _repo = repo; _eventAggregator = eventAggregator; _delayProfileService = delayProfileService; _importListFactory = importListFactory; _notificationFactory = notificationFactory; _restrictionService = restrictionService; _movieService = movieService; }
public NotificationService( IEFRepository <Notification> notificationRepository, IDateTimeService dateTimeService, INotificationFactory notificationFactory, IUnitOfWork unitOfWork, IUserService userService) { Guard.WhenArgument(notificationRepository, "NotificationRepository").IsNull().Throw(); Guard.WhenArgument(dateTimeService, "DateTimeService").IsNull().Throw(); Guard.WhenArgument(notificationFactory, "NotificationFactory").IsNull().Throw(); Guard.WhenArgument(unitOfWork, "UnitOfWork").IsNull().Throw(); Guard.WhenArgument(userService, "UserService").IsNull().Throw(); this.notificationRepository = notificationRepository; this.dateTimeService = dateTimeService; this.notificationFactory = notificationFactory; this.unitOfWork = unitOfWork; this.userService = userService; }
public NotificationService(INotificationServiceDependencies dependencies) { _notificationListViewModel = dependencies.NotificationListViewModel; _notificationFactory = dependencies.NotificationFactory; }
/// <summary> /// ctor the Mighty /// </summary> public DefaultNotificationService(INotificationFactory notificationFactory, IBrewgrRepository repository) { this.NotificationFactory = notificationFactory; this.Repository = repository; }
public GameService(ICardService cardService, INotificationFactory notificationFactory) { _cardService = cardService; _notificationFactory = notificationFactory; }
public NotificationManager(IUnitOfWork unitOfWork, IAuthenticationService authService, INotificationFactory factory) { _unitOfWork = unitOfWork; _authService = authService; _factory = factory; }
public HubService(INotificationFactory factory, INotificationRepository repository, IHubContext <INotificationHub> notificationHub) { _factory = factory; _repository = repository; _notificationHub = notificationHub; }
/// <summary> /// ctor the Mighty /// </summary> public DefaultNotificationService(INotificationFactory notificationFactory, IBrewgrRepository repository) { this.NotificationFactory = notificationFactory; this.Repository = repository; }
public SlackUrlCheck(INotificationFactory notificationFactory, ILocalizationService localizationService) : base(localizationService) { _notificationFactory = notificationFactory; }
public FriendshipManagementService(IUnitOfWork unitOfWork, INotificationFactory notificationFactory, IDateTimeService dateTimeService) { _unitOfWork = unitOfWork; _notificationFactory = notificationFactory; _dateTimeService = dateTimeService; }
public NotificationSchemaModule(INotificationFactory notificationFactory) : base("notification/schema") { _notificationFactory = notificationFactory; GetResourceAll = GetSchema; }
public NotificationService(IContractService contractService, INotificationFactory notificationFactory, INotificationRepository notificationRepository) { _contractService = contractService; _notificationFactory = notificationFactory; _notificationRepository = notificationRepository; }
public CustomerController(ICustomerService cityService, INotificationFactory notificationFactory) { this.CustomerService = cityService; this.NotificationFactory = notificationFactory; }
public RegisterClientAction(Guid clientId, IClientsManagement clientsManagement, INotificationFactory notificationFactory) { _clientId = clientId; _clientsManagement = clientsManagement; _notificationFactory = notificationFactory; }
public SampleOperationAction(IClientsManagement clientsManagement, INotificationFactory notificationFactory) { _clientsManagement = clientsManagement; _sampleOperations = new SampleOperations(); _notificationFactory = notificationFactory; }
public GenderController(IGenderService cityService, INotificationFactory notificationFactory) { this.service = cityService; this.NotificationFactory = notificationFactory; }
public ClassificationController(IClassificationService cityService, INotificationFactory notificationFactory) { this.service = cityService; this.NotificationFactory = notificationFactory; }
protected override void Context() { _notificationFactory = A.Fake <INotificationFactory>(); sut = new ValidationEngine(_notificationFactory); }
public NotificationService(INotificationFactory notificationFactory, Logger logger) { _notificationFactory = notificationFactory; _logger = logger; }
public NotificationServiceDependencies(INotificationListViewModel notificationListViewModel, INotificationFactory notificationFactory) { NotificationListViewModel = notificationListViewModel; NotificationFactory = notificationFactory; }