Ejemplo n.º 1
0
 public Manage(
     SignInManager <ApplicationUser> signInManager, IStringLocalizer <Manage> localizer,
     Axuno.Tools.DateAndTime.TimeZoneConverter timeZoneConverter,
     Axuno.BackgroundTask.IBackgroundQueue queue,
     UserEmailTask userEmailTask,
     MetaDataHelper metaData, SiteContext siteContext,
     RegionInfo regionInfo, PhoneNumberService phoneNumberService,
     ILogger <Manage> logger)
 {
     _userManager        = signInManager.UserManager;
     _signInManager      = signInManager;
     _localizer          = localizer;
     _timeZoneConverter  = timeZoneConverter;
     _queue              = queue;
     _userEmailTask1     = userEmailTask;
     _userEmailTask2     = userEmailTask.CreateNew();
     _metaData           = metaData;
     _siteContext        = siteContext;
     _phoneNumberService = phoneNumberService;
     _regionInfo         = regionInfo;
     _logger             = logger;
 }
Ejemplo n.º 2
0
 public Account(
     SignInManager <ApplicationUser> signInManager,
     IStringLocalizer <Account> localizer,
     IOptions <DataProtectionTokenProviderOptions> dataProtectionTokenProviderOptions,
     ILogger <Account> logger,
     SiteContext siteContext,
     Axuno.BackgroundTask.IBackgroundQueue queue,
     UserEmailTask userEmailTask,
     DataProtection.DataProtector dataProtector,
     TournamentManager.DI.PhoneNumberService phoneNumberService,
     RegionInfo regionInfo)
 {
     _signInManager = signInManager;
     _localizer     = localizer;
     _dataProtectionTokenProviderOptions = dataProtectionTokenProviderOptions;
     _logger             = logger;
     _siteContext        = siteContext;
     _queue              = queue;
     _userEmailTask      = userEmailTask;
     _dataProtector      = dataProtector;
     _phoneNumberService = phoneNumberService;
     _regionInfo         = regionInfo;
 }