public MathController(IMathEngine mathEngine, ILogger <MathController> logger)
 {
     _mathEngine = mathEngine;
     _logger     = logger;
 }
 public HomeController(IMathEngine engine)
 {
     this.engine = engine;
 }
示例#3
0
 public MathEngineTests()
 {
     _mathEngine = ServiceProvider.GetService <IMathEngine>();
 }