public ProfileViewModel( IAuthenticationService authenticationService, INativePushNotificationService nativePushNotificationService) { _authenticationService = authenticationService; _nativePushNotificationService = nativePushNotificationService; }
public MainViewModel( MenuViewModel menuViewModel, INativePushNotificationService nativePushNotificationService, IPushNotificationService pushNotificationService) { _menuViewModel = menuViewModel; _nativePushNotificationService = nativePushNotificationService; _pushNotificationService = pushNotificationService; MessagingCenter.Subscribe <ViewModelBase, NotificationType>(this, MessengerKeys.NotificationRequest, async(v, t) => { await OnNotificationRequestAsync(t); }); }
public MenuViewModel(IAuthenticationService authenticationService, INativePushNotificationService nativePushNotificationService) { _authenticationService = authenticationService; _nativePushNotificationService = nativePushNotificationService; InitMenuItems(); }