Exemple #1
0
 public HomeController(ILogger <HomeController> logger,
                       IMyRepo myRepo,
                       IDecorateRepo decorateRepo,
                       ISingletonRepo singletonRepo)
 {
     _singletonRepo = singletonRepo;
     _decorateRepo  = decorateRepo;
     _myRepo        = myRepo;
     _logger        = logger;
 }
Exemple #2
0
 public MyController(IMyRepo myRepo)
 {
     this.myRepo = myRepo;
 }
 public MyController(IMyRepo myRepo)
 {
     this.classA = myRepo.CreateA();
 }
 public MainNavController(IMyRepo myRepo)
 {
     this._myRepo = myRepo;
 }
Exemple #5
0
 public MyDecorateRepo(IMyRepo next)
 {
     _next = next;
 }
Exemple #6
0
 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;
 }