コード例 #1
0
 public ProfileController(
     IApplicationLocale applicationLocale,
     IDomainMicroService domainMicroService,
     IUserMicroService userMicroService,
     IUserManagementMicroService userManagementMicroService)
     : base(
         applicationLocale,
         domainMicroService)
 {
     UserMicroService           = userMicroService ?? throw new ArgumentNullException(nameof(userMicroService));
     UserManagementMicroService = userManagementMicroService ?? throw new ArgumentNullException(nameof(userManagementMicroService));
 }
コード例 #2
0
 public LoginController(
     SignInManager <IdentityUser> signInManager,
     IApplicationLocale applicationLocale,
     IDomainMicroService domainMicroService,
     IUserMicroService userMicroService,
     IUserManagementMicroService userManagementMicroService)
     : base(
         applicationLocale,
         domainMicroService)
 {
     SignInManager              = signInManager ?? throw new ArgumentNullException(nameof(signInManager));
     UserMicroService           = userMicroService ?? throw new ArgumentNullException(nameof(userMicroService));
     UserManagementMicroService = userManagementMicroService ?? throw new ArgumentNullException(nameof(userManagementMicroService));
 }
コード例 #3
0
 public UserAdminService(
     IApplicationRequestServices requestServices,
     ILogger <UserAdminService> logger,
     IQuiltContextFactory quiltContextFactory,
     //UserManager<IdentityUser> userManager,
     IOrderMicroService orderMicroService,
     ISquareMicroService squareMicroService,
     IUserMicroService userMicroService,
     IUserManagementMicroService userManagementMicroService)
     : base(requestServices, logger)
 {
     QuiltContextFactory        = quiltContextFactory ?? throw new ArgumentNullException(nameof(quiltContextFactory));
     OrderMicroService          = orderMicroService ?? throw new ArgumentNullException(nameof(orderMicroService));
     SquareMicroService         = squareMicroService ?? throw new ArgumentNullException(nameof(squareMicroService));
     UserMicroService           = userMicroService ?? throw new ArgumentNullException(nameof(userMicroService));
     UserManagementMicroService = userManagementMicroService ?? throw new ArgumentNullException(nameof(userManagementMicroService));
 }