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"); }
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"); }
public ThemeController(ThemeService themeService, OssService ossService) { this.themeService = themeService; this.ossService = ossService; }
public ProjectController(HomePageService homePageService, OssService ossService) { this.homePageService = homePageService; this.ossService = ossService; }
public BlogController(ArticleDbContext articleDbContext, OssService ossService) { this.articleDbContext = articleDbContext; this.ossService = ossService; }
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; }
public ServiceController(VerificationCodeService verificationHelper, OssService ossService, ThemeService themeService) { this.verificationHelper = verificationHelper; this.ossService = ossService; this.themeService = themeService; }