コード例 #1
0
        public CountryRepositoryController(ICountryRepository countryRepository, IInitializeRepositoriesHandler initializeRepositoriesHandler)
        {
            _countryRepository = countryRepository;

            initializeRepositoriesHandler.Controller = this;

            AddHandler(initializeRepositoriesHandler);
        }
コード例 #2
0
        public CountryRepositoryController(ICountryRepository countryRepository, IInitializeRepositoriesHandler initializeRepositoriesHandler)
        {
            _countryRepository = countryRepository;

            initializeRepositoriesHandler.Controller = this;

            AddHandler(initializeRepositoriesHandler);
        }
コード例 #3
0
 public ArtistRepositoryController(IArtistRepository artistRepository, ISearchRequestedHandler searchRequestedHandler, IInitializeRepositoriesHandler initializeRepositoriesHandler)
 {
     _artistRepository = artistRepository;
     searchRequestedHandler.Controller = this;
     initializeRepositoriesHandler.Controller = this;
     
     AddHandler(searchRequestedHandler);
     AddHandler(initializeRepositoriesHandler);
 }
コード例 #4
0
        public ArtistRepositoryController(IArtistRepository artistRepository, ISearchRequestedHandler searchRequestedHandler, IInitializeRepositoriesHandler initializeRepositoriesHandler)
        {
            _artistRepository = artistRepository;
            searchRequestedHandler.Controller        = this;
            initializeRepositoriesHandler.Controller = this;

            AddHandler(searchRequestedHandler);
            AddHandler(initializeRepositoriesHandler);
        }