public HomeController(ILogger <HomeController> logger, IMyRepo myRepo, IDecorateRepo decorateRepo, ISingletonRepo singletonRepo) { _singletonRepo = singletonRepo; _decorateRepo = decorateRepo; _myRepo = myRepo; _logger = logger; }
public MyController(IMyRepo myRepo) { this.myRepo = myRepo; }
public MyController(IMyRepo myRepo) { this.classA = myRepo.CreateA(); }
public MainNavController(IMyRepo myRepo) { this._myRepo = myRepo; }
public MyDecorateRepo(IMyRepo next) { _next = next; }
public ClassB(IMyRepo myRepo) { this.myRepo = myRepo; }
public HtmlController(IMyRepo repo) { this._repo = repo; }
public HomeController(IMyRepo myRepo) { _myRepo = myRepo; }
public HomeController(IMyRepo repo) { _repo = repo; }
public LatestController(IMyRepo myRepo) { this._myRepo = myRepo; }
public ClassA() { myRepo = Container.Resolve <IMyRepo>(); }
public MyController(IMyRepo myRepo, Func <ClassA> aFactory) { this.myRepo = myRepo; this.aFactory = aFactory; }