public PlatformUserController(IDocumentStore documentStore, IHttpContextAccessor httpContextAccessor,
                               IPlatformConnectionManager platformConnectionManager, IAppNotificationManager appNotificationManager,
                               IPlatformManager platformManager, IUserManager userManager, IAppManager appManager, IBus bus,
                               IOptions <EmailVerificationConfiguration> emailVerificationOptions)
 {
     _documentStore             = documentStore;
     _httpContextAccessor       = httpContextAccessor;
     _platformConnectionManager = platformConnectionManager;
     _appNotificationManager    = appNotificationManager;
     _platformManager           = platformManager;
     _userManager = userManager;
     _appManager  = appManager;
     _bus         = bus;
     _emailVerificationConfiguration = emailVerificationOptions.Value;
 }
示例#2
0
 public PlatformController(IDocumentStore documentStore, IPlatformManager platformManager,
                           IPlatformDataManager platformDataManager,
                           IAppManager appManager, IAppNotificationManager appNotificationManager,
                           IPlatformConnectionManager platformConnectionManager, IUserManager userManager,
                           IHttpContextAccessor httpContextAccessor, IOptions <Options> options,
                           IBus bus, ILogger <PlatformController> logger)
 {
     _documentStore             = documentStore;
     _platformManager           = platformManager;
     _platformDataManager       = platformDataManager;
     _appManager                = appManager;
     _appNotificationManager    = appNotificationManager;
     _platformConnectionManager = platformConnectionManager;
     _userManager               = userManager;
     _httpContextAccessor       = httpContextAccessor;
     _options = options.Value;
     _bus     = bus;
     _logger  = logger;
 }