public UserController(UserService userService, ILoggerFactory loggerFactory, IOptions <WebStaticConfig> webStaticConfig, IOptions <GitHubSetting> gitHubSetting) { this._userService = userService; this._webStaticConfig = webStaticConfig.Value; this._gitHubSetting = gitHubSetting.Value; logger = loggerFactory.CreateLogger(typeof(UserController)); }
public BlogController(CategoryService categoryService, BlogService blogService, IOptions <WebStaticConfig> options) { this._categoryService = categoryService; this._blogService = blogService; this._webStaticConfig = options.Value; }
public NewsController(NewsService newsService, UserService userService, NewsCommentService newsCommentService, IOptions <WebStaticConfig> options) { this._newsService = newsService; this._userService = userService; this._newsCommentService = newsCommentService; this._webStaticConfig = options.Value; }
public BlogController(UserService userService, BlogService blogService, BlogCommentService blogCommentService, IOptions <WebStaticConfig> options, ILoggerFactory loggerFactory) { this._userService = userService; this._blogService = blogService; this._blogCommentService = blogCommentService; this._webStaticConfig = options.Value; _logger = loggerFactory.CreateLogger(typeof(BlogController)); }
public OauthController(IOptions <WebStaticConfig> webStaticConfig, IOptions <GitHubSetting> gitHubSetting, IHttpClientFactory httpClientFactory, ILoggerFactory loggerFactory, GitHubService gitHubService, UserService userService) { this._webStaticConfig = webStaticConfig.Value; this._gitHubSetting = gitHubSetting.Value; this._httpClientFactory = httpClientFactory; _logger = loggerFactory.CreateLogger(typeof(OauthController)); this._gitHubService = gitHubService; this._userService = userService; }
public FileOperateController(IHostingEnvironment env, IOptions <WebStaticConfig> options) { this._env = env; this._webStaticConfig = options.Value; }
public HomeBaseController(IOptions <WebStaticConfig> options) { this._webStaticConfig = options.Value; }
public HomeController(UserService userService, IOptions <WebStaticConfig> options) { this._userService = userService; this._webStaticConfig = options.Value; }
public OauthuserService(IOptions <DatabaseSetting> options, IOptions <WebStaticConfig> optionw) : base(options) { this._webStaticConfig = optionw.Value; }
public OpenSourceController(OpenSourceService openSourceService, UserService userService, IOptions <WebStaticConfig> options) { this._openSourceServic = openSourceService; this._userService = userService; this._webStaticConfig = options.Value; }
public GitHubService(IOptions <DatabaseSetting> options, IOptions <WebStaticConfig> optionw) : base(options, optionw) { this._webStaticConfig = optionw.Value; }