コード例 #1
0
 public FakeServer StartWithRealRepos()
 {
     UsedThingsRepos = RealThingsRepos;
     Init ();
     Start (BaseUri);
     return this;
 }
コード例 #2
0
 public ThingsController(IThingsRepository thingsRepository)
 {
     _thingsRepository = thingsRepository;
 }
コード例 #3
0
 public ListModel(IConfiguration config, IThingsRepository thingsRepository)
 {
     this.config           = config;
     this.thingsRepository = thingsRepository;
 }
コード例 #4
0
 public EditModel(IThingsRepository thingsRepo, IHtmlHelper htmlHelper)
 {
     this.thingsRepo = thingsRepo;
     this.htmlHelper = htmlHelper;
 }
コード例 #5
0
 public DeleteModel(IThingsRepository thingsRepository)
 {
     this.thingsRepository = thingsRepository;
 }
コード例 #6
0
 public ThingsCountViewComponent(IThingsRepository thingsRepository)
 {
     this.thingsRepository = thingsRepository;
 }
コード例 #7
0
 public ThingsController(ApplicationDbContext context)
 {
     _thingsRepository = new ThingsRepository(context);
 }
コード例 #8
0
 public DetailModel(IThingsRepository thingsRepo)
 {
     this.thingsRepo = thingsRepo;
 }