public EditTournamentSeasonsController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ServiceContext serviceContext, AppCaches appCaches, IProfilingLogger profilingLogger, UmbracoHelper umbracoHelper, ITournamentDataSource tournamentDataSource, ISeasonDataSource seasonDataSource, IAuthorizationPolicy <Tournament> authorizationPolicy, ISeasonEstimator seasonEstimator, IDateTimeFormatter dateFormatter) : base(globalSettings, umbracoContextAccessor, serviceContext, appCaches, profilingLogger, umbracoHelper) { _tournamentDataSource = tournamentDataSource ?? throw new ArgumentNullException(nameof(tournamentDataSource)); _seasonDataSource = seasonDataSource ?? throw new ArgumentNullException(nameof(seasonDataSource)); _authorizationPolicy = authorizationPolicy ?? throw new ArgumentNullException(nameof(authorizationPolicy)); _seasonEstimator = seasonEstimator ?? throw new ArgumentNullException(nameof(seasonEstimator)); _dateFormatter = dateFormatter ?? throw new ArgumentNullException(nameof(dateFormatter)); }
public MatchFilterFactory(ISeasonEstimator seasonEstimator) { _seasonEstimator = seasonEstimator ?? throw new ArgumentNullException(nameof(seasonEstimator)); }
public MatchValidator(ISeasonEstimator seasonEstimator) { _seasonEstimator = seasonEstimator ?? throw new ArgumentNullException(nameof(seasonEstimator)); }