public UnsubscribeFromPushNotificationsInteractor( IPushNotificationsTokenService pushNotificationsTokenService, IPushNotificationsTokenStorage pushNotificationsTokenStorage, ITogglApi togglApi ) { Ensure.Argument.IsNotNull(pushNotificationsTokenService, nameof(pushNotificationsTokenService)); Ensure.Argument.IsNotNull(pushNotificationsTokenStorage, nameof(pushNotificationsTokenStorage)); Ensure.Argument.IsNotNull(togglApi, nameof(togglApi)); this.pushNotificationsTokenService = pushNotificationsTokenService; this.pushNotificationsTokenStorage = pushNotificationsTokenStorage; this.pushServicesApi = togglApi.PushServices; }