public FirstViewComponent(IMyInjectedService service)
 {
     myService = service;
 }
Exemplo n.º 2
0
 public MainController(IFirstClass firstClass, IMyInjectedService service)
 {
     _firstClass       = firstClass;
     _firstClass.Value = "big";
     _service          = service;
 }
Exemplo n.º 3
0
 public HomeController(IMyInjectedService myService, ApplicationDbContext context)
 {
     this.myService  = myService;
     this._myContext = context;
 }
Exemplo n.º 4
0
 public HomeController(IMyInjectedService myService, ProfileContext context)
 {
     this.myService  = myService;
     this._myContext = context;
 }