コード例 #1
0
 public HomeController(ILogger <HomeController> logger, ApplicationDbContext dbContext, IShortStringService shortStringService, IConfiguration configuration, IInstanceCounter instanceCounter)
 {
     _logger                 = logger;
     this.dbContext          = dbContext;
     this.shortStringService = shortStringService;
     this.configuration      = configuration;
     this.instanceCounter    = instanceCounter;
 }
コード例 #2
0
ファイル: HomeController.cs プロジェクト: viliyani/SoftUni
 public HomeController(
     ILogger <HomeController> logger,
     ApplicationDbContext dbContext,
     IInstanceCounter instanceCounter
     )
 {
     _logger        = logger;
     this.dbContext = dbContext;
 }
コード例 #3
0
 public HomeController(
     ILogger <HomeController> logger,
     ApplicationDbContext dbContext,
     IWebHostEnvironment hostingEnvironment,
     IConfiguration configuration,
     IInstanceCounter instanceCounter)
 {
     _logger                 = logger;
     this.dbContext          = dbContext;
     this.hostingEnvironment = hostingEnvironment;
     this.configuration      = configuration;
     this.instanceCounter    = instanceCounter;
 }
コード例 #4
0
 public RegisteredUsersViewComponent(ApplicationDbContext dbContext, IInstanceCounter instance)
 {
     this.dbContext = dbContext;
 }