public EditProfileViewProvider( IUserNotificationTypeDefaults userNotificationTypeDefaults, INotificationTypeManager notificationTypeManager, IHttpContextAccessor httpContextAccessor, IPlatoUserStore <User> platoUserStore, UserManager <User> userManager) { _userNotificationTypeDefaults = userNotificationTypeDefaults; _notificationTypeManager = notificationTypeManager; _httpContextAccessor = httpContextAccessor; _platoUserStore = platoUserStore; _userManager = userManager; }
public HomeController( IHtmlLocalizer htmlLocalizer, IStringLocalizer stringLocalizer, IViewProviderManager <EditNotificationsViewModel> editProfileViewProvider, IAlerter alerter, IBreadCrumbManager breadCrumbManager, INotificationTypeManager notificationTypeManager, UserManager <User> userManager, IContextFacade contextFacade) { _notificationTypeManager = notificationTypeManager; _editProfileViewProvider = editProfileViewProvider; _breadCrumbManager = breadCrumbManager; _contextFacade = contextFacade; _userManager = userManager; _alerter = alerter; T = htmlLocalizer; S = stringLocalizer; }
/// <summary> /// 初始化类<see cref="DefaultNotifier"/>。 /// </summary> /// <param name="notificationManager">通知管理接口。</param> /// <param name="typeManager">通知类型管理接口。</param> public DefaultNotifier(INotificationManager notificationManager, INotificationTypeManager typeManager) : base(notificationManager, typeManager) { }
public UserNotificationTypeDefaults( INotificationTypeManager notificationTypeManager) { _notificationTypeManager = notificationTypeManager; }
public EditModel(INotificationTypeManager typeManager) { _typeManager = typeManager; }
public IndexModel(INotificationTypeManager typeManager, ISettingsManager settingsManager) { _typeManager = typeManager; _settingsManager = settingsManager; }
/// <summary> /// 初始化类<see cref="Notifier"/>。 /// </summary> /// <param name="notificationManager">通知管理接口。</param> /// <param name="typeManager">通知类型管理接口。</param> protected Notifier(INotificationManager notificationManager, INotificationTypeManager typeManager) { _notificationManager = notificationManager; _typeManager = typeManager; }
/// <summary> /// 初始化类<see cref="Notifier"/>。 /// </summary> /// <param name="notificationManager">通知管理接口。</param> /// <param name="typeManager">通知类型管理接口。</param> public Notifier(INotificationManager notificationManager, INotificationTypeManager typeManager) { _notificationManager = notificationManager; _typeManager = typeManager; }