public ProfileController(IDbHelper dbHelper, IMvcControllerDiscovery mvcController, List <MvcControllerInfo> mvcControllerInfo, IFeatureDiscovery featureDiscovery)
 {
     _dbHelper          = dbHelper;
     _mvcController     = mvcController;
     _mvcControllerInfo = mvcControllerInfo;
     _featureDiscovery  = featureDiscovery;
 }
示例#2
0
 public FeatureDiscovery(IDbHelper helper, IMvcControllerDiscovery mvcController, List <MvcControllerInfo> mvcControllerInfo, IHttpContextAccessor httpContext)
 {
     _dbHelper          = helper;
     _httpContext       = httpContext;
     _mvcController     = mvcController;
     _mvcControllerInfo = mvcControllerInfo;
 }
示例#3
0
 public RoleController(IMvcControllerDiscovery mvcControllerDiscovery,
                       RoleManager <IdentityRole> roleManager
                       )
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     _roleManager            = roleManager;
 }
示例#4
0
 public RoleController(IMvcControllerDiscovery mvcControllerDiscovery,
                       UserManager <IdentityUser> userManager,
                       IContext dbContext)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     _userManager            = userManager;
     _dbContext = dbContext;
 }
示例#5
0
        public DynmicRoleController(IMvcControllerDiscovery mvcControllerDiscovery, IApplicationRoleManager roleManager)
        {
            _mvcControllerDiscovery = mvcControllerDiscovery;
            _mvcControllerDiscovery.CheckArgumentIsNull(nameof(_mvcControllerDiscovery));

            _roleManager = roleManager;
            _roleManager.CheckArgumentIsNull(nameof(_roleManager));
        }
示例#6
0
 public RoleController(
     IMvcControllerDiscovery mvcControllerDiscovery,
     IRoleAccessStore roleAccessStore,
     RoleManager <IdentityRole> roleManager)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     _roleManager            = roleManager;
     _roleAccessStore        = roleAccessStore;
 }
示例#7
0
 public RoleController(
     IMvcControllerDiscovery mvcControllerDiscovery,
     IRoleAccessStore roleAccessStore,
     IServiceProvider serviceProvider
     )
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     _roleAccessStore        = roleAccessStore;
     _roleManager            = serviceProvider.GetService(typeof(RoleManager <>).MakeGenericType(DynamicAuthorizationOptions.RoleType));
 }
 public SeedData(ApplicationDbContext dbContext,
                 UserManager <IdentityUser> userManager,
                 RoleManager <IdentityRole> roleManager,
                 IMvcControllerDiscovery mvcControllerDiscovery,
                 ILogger <SeedData> logger)
 {
     _dbContext              = dbContext;
     _userManager            = userManager;
     _roleManager            = roleManager;
     _mvcControllerDiscovery = mvcControllerDiscovery;
     _logger = logger;
 }
示例#9
0
 public HomeController(IMvcControllerDiscovery mvcControllerDiscovery)
 {
 }
 public AccountController(ApplicationDbContext context,
                          UserManager <ApplicationUser> userManager,
                          SignInManager <ApplicationUser> signInManager,
                          RoleManager <ApplicationRole> roleManger,
                          IEmailSender emailSender,
                          IHostingEnvironment env, IHttpContextAccessor httpContextAccessor, IMvcControllerDiscovery mvcControllerDiscovery)
     : base(context, userManager, signInManager, roleManger, emailSender, env, httpContextAccessor, mvcControllerDiscovery)
 {
 }
 public AdminManagerController(IMvcControllerDiscovery mvcControllerDiscovery, UserManager <ApplicationUser> userManager, RoleManager <ApplicationRole> roleManager)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     _usrManger   = userManager;
     _roleManager = roleManager;
 }
示例#12
0
 public RoleController(IMvcControllerDiscovery mvcControllerDiscovery, IDbHelper helper, List <MvcControllerInfo> mvcControllerInfos)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     this._helper            = helper;
     _mvcControllerInfos     = mvcControllerInfos;
 }
示例#13
0
 public RolesController(IMvcControllerDiscovery mvcControllerDiscovery,
                        RoleManager <ApplicationRole> roleManager)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     _roleManager            = roleManager;
 }
示例#14
0
 public CRoleController(IMvcControllerDiscovery mvcControllerDiscovery,
                        ICRoleRep cRoleRep)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     _cRoleRep = cRoleRep;
 }
 public RoleController(IMvcControllerDiscovery mvcControllerDiscovery)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
 }