public MemberGroupHelper(IRouteGenerator routeGenerator, IMemberService memberService, IMemberGroupService memberGroupService, RoleProvider roleProvider) { _routeGenerator = routeGenerator ?? throw new ArgumentNullException(nameof(routeGenerator)); _memberService = memberService ?? throw new ArgumentNullException(nameof(memberService)); _memberGroupService = memberGroupService ?? throw new ArgumentNullException(nameof(memberGroupService)); _roleProvider = roleProvider ?? throw new ArgumentNullException(nameof(roleProvider)); }
public SqlServerClubRepository(IDatabaseConnectionFactory databaseConnectionFactory, IAuditRepository auditRepository, ILogger logger, IRouteGenerator routeGenerator, IRedirectsRepository redirectsRepository, IStoolballEntityCopier copier) { _databaseConnectionFactory = databaseConnectionFactory ?? throw new ArgumentNullException(nameof(databaseConnectionFactory)); _auditRepository = auditRepository ?? throw new ArgumentNullException(nameof(auditRepository)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _routeGenerator = routeGenerator ?? throw new ArgumentNullException(nameof(routeGenerator)); _redirectsRepository = redirectsRepository ?? throw new ArgumentNullException(nameof(redirectsRepository)); _copier = copier ?? throw new ArgumentNullException(nameof(copier)); }
public SqlServerPlayerRepository(IAuditRepository auditRepository, ILogger logger, IRouteGenerator routeGenerator, IStoolballEntityCopier copier, IPlayerNameFormatter playerNameFormatter) { _auditRepository = auditRepository ?? throw new ArgumentNullException(nameof(auditRepository)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _routeGenerator = routeGenerator ?? throw new ArgumentNullException(nameof(routeGenerator)); _copier = copier ?? throw new ArgumentNullException(nameof(copier)); _playerNameFormatter = playerNameFormatter ?? throw new ArgumentNullException(nameof(playerNameFormatter)); }
public CreateMatchLocationSurfaceController(IUmbracoContextAccessor umbracoContextAccessor, IUmbracoDatabaseFactory umbracoDatabaseFactory, ServiceContext serviceContext, AppCaches appCaches, ILogger logger, IProfilingLogger profilingLogger, UmbracoHelper umbracoHelper, IMatchLocationRepository matchLocationRepository, IAuthorizationPolicy <MatchLocation> authorizationPolicy, IRouteGenerator routeGenerator, ICacheOverride cacheOverride) : base(umbracoContextAccessor, umbracoDatabaseFactory, serviceContext, appCaches, logger, profilingLogger, umbracoHelper) { _matchLocationRepository = matchLocationRepository ?? throw new System.ArgumentNullException(nameof(matchLocationRepository)); _authorizationPolicy = authorizationPolicy ?? throw new System.ArgumentNullException(nameof(authorizationPolicy)); _routeGenerator = routeGenerator ?? throw new System.ArgumentNullException(nameof(routeGenerator)); _cacheOverride = cacheOverride ?? throw new ArgumentNullException(nameof(cacheOverride)); }
public SqlServerCompetitionRepository(IDatabaseConnectionFactory databaseConnectionFactory, IAuditRepository auditRepository, ILogger logger, ISeasonRepository seasonRepository, IRouteGenerator routeGenerator, IRedirectsRepository redirectsRepository, IHtmlSanitizer htmlSanitiser, IStoolballEntityCopier copier, IUrlFormatter urlFormatter, ISocialMediaAccountFormatter socialMediaAccountFormatter) { _databaseConnectionFactory = databaseConnectionFactory ?? throw new ArgumentNullException(nameof(databaseConnectionFactory)); _auditRepository = auditRepository ?? throw new ArgumentNullException(nameof(auditRepository)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _seasonRepository = seasonRepository ?? throw new ArgumentNullException(nameof(seasonRepository)); _routeGenerator = routeGenerator ?? throw new ArgumentNullException(nameof(routeGenerator)); _redirectsRepository = redirectsRepository ?? throw new ArgumentNullException(nameof(redirectsRepository)); _htmlSanitiser = htmlSanitiser ?? throw new ArgumentNullException(nameof(htmlSanitiser)); _copier = copier ?? throw new ArgumentNullException(nameof(copier)); _urlFormatter = urlFormatter ?? throw new ArgumentNullException(nameof(urlFormatter)); _socialMediaAccountFormatter = socialMediaAccountFormatter ?? throw new ArgumentNullException(nameof(socialMediaAccountFormatter)); }
public CutWithHmmCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator, IAlgorithm algorithm) : base(dagGenerator, routeGenerator, algorithm ?? new ViterbiAlgorithm()) { }
public CutAllCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator) : base(dagGenerator, routeGenerator, null) { }
protected BaseCutDagCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator, IAlgorithm algorithm) { DagGenerator = dagGenerator; RouteGenerator = routeGenerator; Algorithm = algorithm; }
public void Initialize() { _dagGenerator = new DagGenerator.DagGenerator(); _routeGeneratorgenerator = new BestRouteGenerator(_dagGenerator); _hhmAlgorithm = new ViterbiAlgorithm(); }
public CutWithoutHmmCommand(IDagGenerator dagGenerator, IRouteGenerator routeGenerator, IAlgorithm algorithm) : base(dagGenerator, routeGenerator, algorithm ?? new NoHmmAlgorithm()) { }