public NotificationProxyWrapper([NotNull] INotificationProxy proxy) { if (proxy == null) { throw new ArgumentNullException("proxy"); } this._proxy = proxy; }
public NotificationProxyWrapper([NotNull] INotificationProxy proxy) { if (proxy == null) { throw new ArgumentNullException(nameof(proxy)); } _proxy = proxy; }
public NotificationAppService(INotificationProxy notificationProxy, IIDMProxy iDMProxy, IMemoryCache cache, INotificationQueries iNotificationQuerie, IINotificationCommands notifayCommands, IGenericCommandRepository genericrepository, ILogger <NotificationAppService> logger, IMapper mapper, IBranchServiceQueries BrancheQuery, ICommitteeQueries CommitteeQuery, IHttpContextAccessor httpContextAccessor, IOptionsSnapshot <RootConfigurations> optionsSnapShot) { _notificationProxy = notificationProxy; _idmProxy = iDMProxy; _cache = cache; _genericrepository = genericrepository; _iNotificationQuerie = iNotificationQuerie; _notifayCommands = notifayCommands; _logger = logger; _mapper = mapper; _BranchQuery = BrancheQuery; _CommitteeQuery = CommitteeQuery; _configuration = optionsSnapShot.Value; _httpContextAccessor = httpContextAccessor; }
public VendorsController( IVendorService vendorService, IReviewService reviewService, IPortfolioService portfolioService, IBookService bookService, IHistoryService historyService, IWorkService workService, IContactService contactService, IRatingService ratingService, INotificationProxy notificationProxy, IAnalyticsService analyticsService) { _vendorService = vendorService; _reviewService = reviewService; _portfolioService = portfolioService; _bookService = bookService; _historyService = historyService; _workService = workService; _contactService = contactService; _ratingService = ratingService; _notificationProxy = notificationProxy; _analyticsService = analyticsService; }
private async Task LoadData() { try { INotificationProxy notificationProxy = BasicProxiesFactory.GetNotificationProxy(); var response = await notificationProxy.GetNotification(); _notificationList = response.Data.OrderByDescending(x => x.Id).ToList(); } catch (Exception e) { Activity.RunOnUiThread(() => Toast.MakeText(Activity, "¡Lo sentimos! Las notificaciones no se encuentra disponibles.", ToastLength.Long).Show() ); //bool dialogResult = await AlertDialogHelper.ShowAsync(Activity, "Error", "Ha sucedido en error en la aplicación. Notificaciones", "Reintentar", "Cancelar"); //Toast.MakeText(Activity, e.Message, ToastLength.Long).Show(); //if (dialogResult) //{ // await LoadData(); //} } }
public static void Register(INotificationProxy proxy) { Socket.Call(proxy); }
/// <summary> /// Register new proxy. /// </summary> /// <param name="proxy"></param> public static void Register(INotificationProxy proxy) { Socket.Call(proxy); }
public AdminService(IUnitOfWorkFactory unitOfWorkFactory, INotificationProxy notificationProxy, IAuthService authService) { _uowFactory = unitOfWorkFactory; _notificationProxy = notificationProxy; _authService = authService; }
public NotificationService(IUnitOfWork unitOfWork, INotificationProxy proxy) { _unitOfWork = unitOfWork; _proxy = proxy; }
public NotificationProxyWrapper([NotNull] INotificationProxy proxy) { if (proxy == null) throw new ArgumentNullException(nameof(proxy)); _proxy = proxy; }
public NotificationProxyWrapper([NotNull] INotificationProxy proxy) { if (proxy == null) throw new ArgumentNullException("proxy"); this._proxy = proxy; }
public NotificationService(INotificationProxy notificationProxy) { _notificationProxy = notificationProxy; }
public NotificationProxyWrapper([CanBeNull] INotificationProxy proxy) { _proxy = proxy ?? throw new ArgumentNullException(nameof(proxy)); }
public NotificationResendJobService(INotificationQueries iNotificationQuerie, IINotificationCommands notificationCommands, INotificationProxy notificationProxy) { _NotificationQuerie = iNotificationQuerie; _NotificationCommands = notificationCommands; _NotificationProxy = notificationProxy; }
public NotificationProxyWrapper(INotificationProxy proxy) { this._proxy = proxy; }