コード例 #1
0
 public Match(SiteContext siteContext, IStringLocalizer <Match> localizer, IAuthorizationService authorizationService,
              Axuno.Tools.DateAndTime.TimeZoneConverter timeZoneConverter, Axuno.BackgroundTask.IBackgroundQueue queue,
              FixtureEmailTask fixtureEmailTask, ResultEmailTask resultEmailTask, RankingUpdateTask rankingUpdateTask, RazorViewToStringRenderer razorViewToStringRenderer, ILogger <Match> logger)
 {
     _siteContext               = siteContext;
     _appDb                     = siteContext.AppDb;
     _localizer                 = localizer;
     _authorizationService      = authorizationService;
     _timeZoneConverter         = timeZoneConverter;
     _queue                     = queue;
     _fixtureEmailTask          = fixtureEmailTask;
     _resultEmailTask           = resultEmailTask;
     _rankingUpdateTask         = rankingUpdateTask;
     _razorViewToStringRenderer = razorViewToStringRenderer;
     _logger                    = logger;
 }
コード例 #2
0
 public Match(ITenantContext tenantContext, IStringLocalizer <Match> localizer,
              IAuthorizationService authorizationService,
              Axuno.Tools.DateAndTime.TimeZoneConverter timeZoneConverter, Axuno.BackgroundTask.IBackgroundQueue queue,
              SendEmailTask sendMailTask, RankingUpdateTask rankingUpdateTask,
              RazorViewToStringRenderer razorViewToStringRenderer, IConfiguration configuration, ILogger <Match> logger)
 {
     _tenantContext             = tenantContext;
     _appDb                     = tenantContext.DbContext.AppDb;
     _localizer                 = localizer;
     _authorizationService      = authorizationService;
     _timeZoneConverter         = timeZoneConverter;
     _queue                     = queue;
     _sendMailTask              = sendMailTask;
     _rankingUpdateTask         = rankingUpdateTask;
     _razorViewToStringRenderer = razorViewToStringRenderer;
     _configuration             = configuration;
     _logger                    = logger;
 }