コード例 #1
0
 public Species()
 {
     InitializeComponent();
     genusService          = new GenusService("Context");
     genus                 = genusService.GetAll();
     GenusName.DataContext = genus;
 }
コード例 #2
0
 public Genus()
 {
     InitializeComponent();
     genusService         = new GenusService("Context");
     genus                = genusService.GetAll();
     GenusBox.DataContext = genus;
 }
コード例 #3
0
 public GenusController(
     IGenusService genusService,
     IGenusRepository genusRepository,
     IFamilyRepository familyRepository,
     PaginationConfiguration paginationConfiguration)
 {
     _genusService            = genusService;
     _genusRepository         = genusRepository;
     _familyRepository        = familyRepository;
     _paginationConfiguration = paginationConfiguration;
 }
コード例 #4
0
 public GenusController(IGenusService genusService)
 {
     _genusService = genusService;
 }
コード例 #5
0
 public PetsController(IPetApiService petApiService, IGenusService genusService)
 {
     _petApiService = petApiService;
     _genusService  = genusService;
 }
コード例 #6
0
 public SpeciesController(ISpeciesService speciesService, IGenusService genusService)
 {
     _speciesService = speciesService;
     _genusService   = genusService;
 }
コード例 #7
0
ファイル: GenusController.cs プロジェクト: cempaydas/Petscope
 public GenusController(IGenusService IGenusService)
 {
     this._IGenusService = IGenusService;
 }