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

            _roleManager = roleManager;
            _roleManager.CheckArgumentIsNull(nameof(_roleManager));
        }
Exemplo n.º 6
0
 public RoleController(
     IMvcControllerDiscovery mvcControllerDiscovery,
     IRoleAccessStore roleAccessStore,
     RoleManager <IdentityRole> roleManager)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     _roleManager            = roleManager;
     _roleAccessStore        = roleAccessStore;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 12
0
 public RoleController(IMvcControllerDiscovery mvcControllerDiscovery, IDbHelper helper, List <MvcControllerInfo> mvcControllerInfos)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     this._helper            = helper;
     _mvcControllerInfos     = mvcControllerInfos;
 }
Exemplo n.º 13
0
 public RolesController(IMvcControllerDiscovery mvcControllerDiscovery,
                        RoleManager <ApplicationRole> roleManager)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     _roleManager            = roleManager;
 }
Exemplo n.º 14
0
 public CRoleController(IMvcControllerDiscovery mvcControllerDiscovery,
                        ICRoleRep cRoleRep)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
     _cRoleRep = cRoleRep;
 }
 public RoleController(IMvcControllerDiscovery mvcControllerDiscovery)
 {
     _mvcControllerDiscovery = mvcControllerDiscovery;
 }