public DynamicRoleClaimsManagerController (IMvcActionsDiscoveryService mvcActionsDiscoveryService, IApplicationRoleManager roleManager) { _mvcActionsDiscoveryService = mvcActionsDiscoveryService; _mvcActionsDiscoveryService.CheckArgumentIsNull(nameof(_mvcActionsDiscoveryService)); _roleManager = roleManager; _roleManager.CheckArgumentIsNull(nameof(_roleManager)); }
public SecurityTrimmingService( IHttpContextAccessor httpContextAccessor, IMvcActionsDiscoveryService mvcActionsDiscoveryService) { _httpContextAccessor = httpContextAccessor; _httpContextAccessor.CheckArgumentIsNull(nameof(_httpContextAccessor)); _httpContext = _httpContextAccessor.HttpContext; _mvcActionsDiscoveryService = mvcActionsDiscoveryService; _mvcActionsDiscoveryService.CheckArgumentIsNull(nameof(_mvcActionsDiscoveryService)); }