Beispiel #1
0
 public ServiceController(VerificationCodeService verificationHelper,
                          OssService ossService,
                          ArticleDbContext articleDbContext,
                          IServiceProvider serviceProvider)
 {
     this.verificationHelper = verificationHelper;
     this.ossService         = ossService;
     this.articleDbContext   = articleDbContext;
     this.serviceProvider    = serviceProvider;
 }
 public BlogController(ArticleDbContext articleDbContext,
                       OssService ossService,
                       IMemoryCache memoryCache,
                       IConfiguration configuration)
 {
     this.articleDbContext = articleDbContext;
     this.ossService       = ossService;
     this.memoryCache      = memoryCache;
     pageSize = configuration.GetValue <int>("PageSize");
 }
Beispiel #3
0
 public ArticleController(IConfiguration configuration,
                          ArticleDbContext articleDbContext,
                          OssService ossService,
                          NotifyService notifyService)
 {
     this.articleDbContext = articleDbContext;
     this.ossService       = ossService;
     this.notifyService    = notifyService;
     this.configuration    = configuration;
     pageSize = configuration.GetValue <int>("PageSize");
 }
Beispiel #4
0
 public ThemeController(ThemeService themeService, OssService ossService)
 {
     this.themeService = themeService;
     this.ossService   = ossService;
 }
Beispiel #5
0
 public ProjectController(HomePageService homePageService, OssService ossService)
 {
     this.homePageService = homePageService;
     this.ossService      = ossService;
 }
Beispiel #6
0
 public BlogController(ArticleDbContext articleDbContext, OssService ossService)
 {
     this.articleDbContext = articleDbContext;
     this.ossService       = ossService;
 }
Beispiel #7
0
 public ProfileController(ProfileService profileService, OssService ossService)
 {
     this.profileService = profileService;
     this.ossService     = ossService;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="ossService"></param>
 public OssController(OssService ossService)
 {
     _ossService = ossService;
 }
 public ProfileController(ProfileService profileService, OssService ossService, SecurityService securityService)
 {
     this.profileService  = profileService;
     this.ossService      = ossService;
     this.securityService = securityService;
 }
Beispiel #10
0
 public ServiceController(VerificationCodeService verificationHelper, OssService ossService, ThemeService themeService)
 {
     this.verificationHelper = verificationHelper;
     this.ossService         = ossService;
     this.themeService       = themeService;
 }