public CatmashImageControllerTest() { this.repository = new CatmashRepository(context); this.pairGenerator = new PatternedPairGenerator(); this.pairNumTracker = new PairNumberTracker(); this.eloRatingCalculator = new EloRatingCalculator(); this.constants = new Constants(); }
public CatmashImageController(ICatmashRepository repository, IPairGeneratorStrategy pairGenerator, PairNumberTracker pairNumTracker, EloRatingCalculator eloRatingCalculator, Constants constants) { this.repository = repository; this.pairGenerator = pairGenerator; this.pairNumTracker = pairNumTracker; this.eloRatingCalculator = eloRatingCalculator; this.constants = constants; }
public HomeControllerTest() : base() { repository = new CatmashRepository(context); logger = new Logger <HomeController>(new LoggerFactory()); }
public HomeController(ILogger <HomeController> logger, ICatmashRepository repository) { this.logger = logger; this.repository = repository; }
public CatmashNotificationHub(ICatmashRepository repository) => this.repository = repository;