public CustomerAuthMiddleware(RequestDelegate next, IMemoryCache cache, IAuthenticationSchemeProvider schemes, ICustomerLogging logger) { this.next = next; _cache = cache; Schemes = schemes; _logger = logger; }
/// <summary> /// 构造函数 /// </summary> /// <param name="mapper"></param> /// <param name="postGroupRepository"></param> /// <param name="bus"></param> /// <param name="logger"></param> public PostGroupServer(IMapper mapper, IUnitOfWork uow, IMediatorHandler bus, ICustomerLogging logger) { _mapper = mapper; _postGroupRepository = uow.GetRepository <PostSeries>(); Bus = bus; _logger = logger; }
public AccountController(UserManager <AppBlogUser> userManager, RoleManager <AppBlogRole> roleManager, SignInManager <AppBlogUser> signInManager, ICustomerLogging logger, JwtHelper JwtHelper) { _userManager = userManager; _roleManager = roleManager; _signInManager = signInManager; _logger = logger; _JwtHelper = JwtHelper; }
public BaseController(UserManager <AppBlogUser> userManager, RoleManager <AppBlogRole> roleManager, SignInManager <AppBlogUser> signInManager, INotificationHandler <DomainNotification> notifications, ICustomerLogging logger) { _userManager = userManager; _roleManager = roleManager; _signInManager = signInManager; _notifications = (DomainNotificationHandler)notifications; _logger = logger; }
public ExceptionController( UserManager <AppBlogUser> userManager, RoleManager <AppBlogRole> roleManager, SignInManager <AppBlogUser> signInManager, INotificationHandler <DomainNotification> notifications, ICustomerLogging _logger) : base(userManager, roleManager, signInManager, notifications, _logger) { }
public ArticleService( IMapper mapper, IMediatorHandler bus, ICustomerLogging logger, IUnitOfWork uow) { _mapper = mapper; Bus = bus; _logger = logger; _articleRepository = uow.GetRepository <Article>(); }
public AccountController(UserManager <AppBlogUser> userManager, RoleManager <AppBlogRole> roleManager, SignInManager <AppBlogUser> signInManager, ICustomerLogging logger, IDBHelper dbHelper, IUser user, IMemoryCache memoryCache) { _userManager = userManager; _roleManager = roleManager; _signInManager = signInManager; _logger = logger; _dbHelper = dbHelper; _user = user; _memoryCache = memoryCache; }
public HomeController( IArticleService articleService, UserManager <AppBlogUser> userManager, RoleManager <AppBlogRole> roleManager, SignInManager <AppBlogUser> signInManager, INotificationHandler <DomainNotification> notifications, ICustomerLogging _logger) : base(userManager, roleManager, signInManager, notifications, _logger) { _articleService = articleService; }
public AdminController(UserManager <AppBlogUser> userManager, RoleManager <AppBlogRole> roleManager, SignInManager <AppBlogUser> signInManager, INotificationHandler <DomainNotification> notifications, IArticleService articleService, ICustomerLogging logger) { _userManager = userManager; _roleManager = roleManager; _signInManager = signInManager; _notifications = (DomainNotificationHandler)notifications; _logger = logger; _articleService = articleService; }
public UserController( IArticleService articleService, IPostGroupServer postGroupServer, UserManager <AppBlogUser> userManager, RoleManager <AppBlogRole> roleManager, SignInManager <AppBlogUser> signInManager, INotificationHandler <DomainNotification> notifications, IUser user, ICustomerLogging _logger) : base(userManager, roleManager, signInManager, notifications, _logger) { _articleService = articleService; _postGroupServer = postGroupServer; _user = user; }