public CalculatorViewModel(IMathRepository mathRepository, IResultRepository resultRepository, IDialogPlugin dialogPlugin, ILogger logger) { _mathRepository = mathRepository; _resultRepository = resultRepository; _dialogPlugin = dialogPlugin; _logger = logger; }
public CalculatorManagerTestsAlternate() { _mathRepository = Substitute.For <IMathRepository>(); _mathRepository.GetIntMax().Returns(Int32.MaxValue); _mathRepository.GetIntMin().Returns(Int32.MinValue); _calculatorManager = new CalculatorManager(_mathRepository); }
public MathApiController(IMathRepository _mathRepository) { mathRepository = _mathRepository; }
public CalculatorManager(IMathRepository mathRepositories) { _mathRepositories = mathRepositories; }
public MathController(IMathRepository mathRepository) { _mathRepository = mathRepository; }