示例#1
0
 /// <summary>
 /// Инициализирует ноый экземпляр класса <see cref="AppNotificationsService"/>.
 /// </summary>
 /// <param name="presenter">Презентер уведомлений.</param>
 /// <param name="soundService">Сервис воспроизведения звуковых эффектов.</param>
 /// <param name="deviceVibrationService">Сервис вибрации.</param>
 /// <param name="settingsService">Сервис настроек приложения.</param>
 public AppNotificationsService(IAppNotificationsPresenter presenter, ISoundService soundService,
                                IDeviceVibrationService deviceVibrationService, ISettingsService settingsService)
 {
     this.presenter              = presenter;
     this.soundService           = soundService;
     this.deviceVibrationService = deviceVibrationService;
     this.settingsService        = settingsService;
 }
示例#2
0
 /// <summary>
 /// Инициализирует ноый экземпляр класса <see cref="AppNotificationsService"/>.
 /// </summary>
 /// <param name="presenter">Презентер уведомлений.</param>
 /// <param name="soundService">Сервис воспроизведения звуковых эффектов.</param>
 /// <param name="deviceVibrationService">Сервис вибрации.</param>
 /// <param name="settingsService">Сервис настроек приложения.</param>
 /// <param name="locService">Сервис локализаций.</param>
 public AppNotificationsService(
     IAppNotificationsPresenter presenter,
     ISoundService soundService,
     IDeviceVibrationService deviceVibrationService,
     ISettingsService settingsService,
     ILocService locService)
 {
     _presenter              = presenter;
     _soundService           = soundService;
     _deviceVibrationService = deviceVibrationService;
     _settingsService        = settingsService;
     _locService             = locService;
 }