コード例 #1
0
ファイル: MobileNotification.cs プロジェクト: anojht/Ombi
 public MobileNotification(ICloudMobileNotification api, ISettingsService <MobileNotificationSettings> sn, ILogger <MobileNotification> log, INotificationTemplatesRepository r,
                           IMovieRequestRepository m, ITvRequestRepository t, ISettingsService <CustomizationSettings> s, IRepository <MobileDevices> notification,
                           UserManager <OmbiUser> um, IRepository <RequestSubscription> sub, IMusicRequestRepository music, IRepository <Issues> issueRepository,
                           IRepository <UserNotificationPreferences> userPref) : base(sn, r, m, t, s, log, sub, music, userPref)
 {
     _api             = api;
     _logger          = log;
     _notifications   = notification;
     _userManager     = um;
     _issueRepository = issueRepository;
 }
コード例 #2
0
 public MobileController(IRepository <MobileDevices> mobileDevices, OmbiUserManager user, ICloudMobileNotification mobileNotificationService)
 {
     _mobileDevices             = mobileDevices;
     _userManager               = user;
     _mobileNotificationService = mobileNotificationService;
 }