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