Ejemplo n.º 1
0
 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));
 }
Ejemplo n.º 2
0
        public BlogController(CategoryService categoryService, BlogService blogService, IOptions <WebStaticConfig> options)
        {
            this._categoryService = categoryService;
            this._blogService     = blogService;

            this._webStaticConfig = options.Value;
        }
Ejemplo n.º 3
0
        public NewsController(NewsService newsService, UserService userService, NewsCommentService newsCommentService, IOptions <WebStaticConfig> options)
        {
            this._newsService        = newsService;
            this._userService        = userService;
            this._newsCommentService = newsCommentService;

            this._webStaticConfig = options.Value;
        }
Ejemplo n.º 4
0
        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));
        }
Ejemplo n.º 5
0
 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;
 }
Ejemplo n.º 6
0
 public FileOperateController(IHostingEnvironment env, IOptions <WebStaticConfig> options)
 {
     this._env             = env;
     this._webStaticConfig = options.Value;
 }
Ejemplo n.º 7
0
 public HomeBaseController(IOptions <WebStaticConfig> options)
 {
     this._webStaticConfig = options.Value;
 }
Ejemplo n.º 8
0
 public HomeController(UserService userService, IOptions <WebStaticConfig> options)
 {
     this._userService     = userService;
     this._webStaticConfig = options.Value;
 }
Ejemplo n.º 9
0
 public OauthuserService(IOptions <DatabaseSetting> options, IOptions <WebStaticConfig> optionw) : base(options)
 {
     this._webStaticConfig = optionw.Value;
 }
Ejemplo n.º 10
0
 public OpenSourceController(OpenSourceService openSourceService, UserService userService, IOptions <WebStaticConfig> options)
 {
     this._openSourceServic = openSourceService;
     this._userService      = userService;
     this._webStaticConfig  = options.Value;
 }
Ejemplo n.º 11
0
 public GitHubService(IOptions <DatabaseSetting> options, IOptions <WebStaticConfig> optionw) : base(options, optionw)
 {
     this._webStaticConfig = optionw.Value;
 }