public EventRepository(IApiService apiService, IStateService stateService, ICustomNotification notification, IMapper mapper) { _apiService = apiService; _stateService = stateService; _mapper = mapper; _notification = notification; }
/// <summary> /// Initializes a new instance of the <see cref="DownloadNotification"/> class. /// </summary> /// <param name="ctx"> /// The ctx. /// </param> /// <param name="applicationLabel"> /// The application label. /// </param> internal DownloadNotification(Context ctx, string applicationLabel) { this.clientState = DownloaderState.Unknown; this.context = ctx; this.label = applicationLabel; this.notificationManager = this.context.GetSystemService(Context.NotificationService).JavaCast <NotificationManager>(); this.notification = new Notification(); this.customNotification = CustomNotificationFactory.CreateCustomNotification(); this.currentNotification = this.notification; }
public ApiService(IJSRuntime jsRuntime, ICustomNotification notification, NavigationManager navigationManager) { _jsRuntime = jsRuntime; _notification = notification; _navigationManager = navigationManager; }
public EventHeadRepository(ICustomNotification notification, IApiService apiService, IStateService stateService) { _notification = notification; _apiService = apiService; _stateService = stateService; }
/// <summary> /// Initializes a new instance of the <see cref="DownloadNotification"/> class. /// </summary> /// <param name="ctx"> /// The ctx. /// </param> /// <param name="applicationLabel"> /// The application label. /// </param> internal DownloadNotification(Context ctx, string applicationLabel) { this.clientState = DownloaderState.Unknown; this.context = ctx; this.label = applicationLabel; this.notificationManager = this.context.GetSystemService(Context.NotificationService).JavaCast<NotificationManager>(); this.notification = new Notification(); this.customNotification = CustomNotificationFactory.CreateCustomNotification(); this.currentNotification = this.notification; }
public ScheduleRepository(IApiService apiService, ICustomNotification notification) { _apiService = apiService; _notification = notification; }
public MainPage() { InitializeComponent(); notification = DependencyService.Get <ICustomNotification>(); }
public StateService(IApiService apiService, IMapper mapper, ICustomNotification notification) { _apiService = apiService; _mapper = mapper; }
public ApiService(IJSRuntime jsRuntime, ICustomNotification notification) { _jsRuntime = jsRuntime; _notification = notification; }
private void CustomNotificationCallback(ICustomNotification notification) { var duration = DateTime.Now - notification.TimeStamp; Message = $"Custom notification duration: {duration.TotalSeconds:0.00} sec"; }
public UserRepository(IApiService apiService, ICustomNotification notification, IMapper mapper) { _apiService = apiService; _notification = notification; _mapper = mapper; }
public ResultRepository(IApiService apiService, ICustomNotification notification, IStateService state) { _apiService = apiService; _notification = notification; _state = state; }