示例#1
0
 public CharacterController(UserManager <ApplicationUser> userManager,
                            CharacterHelperProvider characterHelper,
                            AppDbContext dbContext,
                            ItemCreatorHelperProvider itemCreatorHelper)
 {
     this.userManager       = userManager;
     this.characterHelper   = characterHelper;
     this.dbContext         = dbContext;
     this.itemCreatorHelper = itemCreatorHelper;
 }
示例#2
0
 public AccountController(UserManager <ApplicationUser> userManager,
                          RoleManager <IdentityRole> roleManager,
                          SignInManager <ApplicationUser> signInManager,
                          IConfiguration configuration,
                          AppDbContext dbContext,
                          CharacterHelperProvider characterHelper,
                          ItemCreatorHelperProvider itemHelper)
 {
     this.userManager     = userManager;
     this.roleManager     = roleManager;
     this.signInManager   = signInManager;
     this.configuration   = configuration;
     this.dbContext       = dbContext;
     this.characterHelper = characterHelper;
     this.itemHelper      = itemHelper;
 }
示例#3
0
 public TownHelper(AppDbContext dbContext, ItemCreatorHelperProvider itemCreatorHelper)
 {
     this.dbContext         = dbContext;
     this.itemCreatorHelper = itemCreatorHelper;
 }