コード例 #1
0
 public RoleController(RoleManager <ApplicationRole> roleManager, UserManager <ApplicationUser> userManager, IKsI18N i18n, IMapper mapper)
 {
     this.roleManager = roleManager;
     this.userManager = userManager;
     this.i18n        = i18n;
     this.localize    = this.i18n.GetLocalizer <RoleController>();
     this.mapper      = mapper;
 }
コード例 #2
0
 public UserController(
     SignInManager <ApplicationUser> signInManager,
     ILogger <UserController> logger,
     IConfiguration configuration,
     UserManager <ApplicationUser> userManager,
     RoleManager <ApplicationRole> roleManager,
     ITokenHelper tokenHelper,
     IKsI18N i18n,
     IMapper mapper)
 {
     this.signInManager = signInManager;
     this.logger        = logger;
     this.configuration = configuration;
     this.userManager   = userManager;
     this.roleManager   = roleManager;
     this.tokenHelper   = tokenHelper;
     this.i18n          = i18n;
     this.localize      = this.i18n.GetLocalizer <UserController>();
     this.mapper        = mapper;
 }
コード例 #3
0
 public ValidateModelAttribute(IKsI18N i18n)
 {
     this.i18n     = i18n;
     this.localize = this.i18n.GetLocalizer <ValidateModelAttribute>();
 }
コード例 #4
0
 public ResetPasswordResponseExample(IKsI18N i18n)
 {
     this.i18n     = i18n;
     this.localize = this.i18n.GetLocalizer <UserController>();
 }