public SearchSalesController( ISalesService salesService, ICategoriesService categoriesService, IMakesService makesService, IModelsService modelsService, IFuelTypesService fuelTypesService, IEuroStandartsService euroStandartsService, IGearboxesService gearboxesService, IColorsService colorsService, ICountriesService countriessService, ICitiesService citiesService, UserManager <ApplicationUser> userManager) { this.salesService = salesService; this.categoriesService = categoriesService; this.makesService = makesService; this.modelsService = modelsService; this.fuelTypesService = fuelTypesService; this.euroStandartsService = euroStandartsService; this.gearboxesService = gearboxesService; this.colorsService = colorsService; this.countriesService = countriessService; this.citiesService = citiesService; this.userManager = userManager; }
private void InitializeViewModel(IPolicyDataService policyDataService, ICountriesService countriesService) { PolicyDataService = policyDataService; CountriesService = countriesService; SetInsuranceTypesList(); SetCreditCardTypesList(); RefreshPolicyListCommand = new RelayCommand(LoadInsurancePolicies, () => IsPathToFileSpecified); SavePoliciesCommand = new RelayCommand(SavePolicies, () => IsPathToFileSpecified); ExitApplicationCommand = new RelayCommand(ExitApplication); CloseFileCommand = new RelayCommand(CloseFile, () => IsPathToFileSpecified); OpenFileDialogCommand = new RelayCommand(OpenFileDialog); PropertyChanged += InsurancePolicyViewModel_PropertyChanged; PolicyDataService.PoliciesChanged += _dataService_PoliciesChanged; try { // This block throws exception with in unit test. Unable to find required Reference to // eliminate the exception. The issue is scheme: "pack://" is not recognized outside of the // WPF project. UpToDateStatusImage = LoadBitmapImage(upToDateStatusImagePath); OutOfDateStatusImage = LoadBitmapImage(outOfDateStatusImagePath); } catch (UriFormatException) { } }
public CountriesController( IRouteProvider routeProvider, ICountriesService countriesService) { _routeProvider = routeProvider; _countriesService = countriesService; }
public ProductsController(IProductService productService, IUnitService unitService, IMapper mapper, ICountriesService countriesService) { _productService = productService; _mapper = mapper; _unitService = unitService; _countriesService = countriesService; }
public CountriesController( ICountriesService countriesService, IRegionsService regionsService) { _countriesService = countriesService; _regionsService = regionsService; }
public SearchController(ICountriesService countriesService, IStatesService statesService, ICitiesService citiesService, IZipCodesService zipCodesService) { CountriesService = countriesService; StatesService = statesService; CitiesService = citiesService; ZipCodesService = zipCodesService; }
public UseCase( ICountriesService countriesService, IOutputPort outputPort) { _countriesService = countriesService; _outputPort = outputPort; }
public SalesController( IWebHostEnvironment webHostEnvironment, ICarsService carsService, ISalesService salesService, ICategoriesService categoriesService, IMakesService makesService, IModelsService modelsService, IFuelTypesService fuelTypesService, IEuroStandartsService euroStandartsService, IGearboxesService gearboxesService, IColorsService colorsService, ICountriesService countriessService, ICitiesService citiesService, UserManager <ApplicationUser> userManager, ICaptchaValidator captchaValidator) { this.webHostEnvironment = webHostEnvironment; this.carsService = carsService; this.salesService = salesService; this.categoriesService = categoriesService; this.makesService = makesService; this.modelsService = modelsService; this.fuelTypesService = fuelTypesService; this.euroStandartsService = euroStandartsService; this.gearboxesService = gearboxesService; this.colorsService = colorsService; this.countriesService = countriessService; this.citiesService = citiesService; this.userManager = userManager; this.captchaValidator = captchaValidator; }
public SearchPropertiesController( IPropertiesService propertiesService, ICountriesService countriesService) { this.propertiesService = propertiesService; this.countriesService = countriesService; }
public CountriesController( CountriesDbContext context, ICountriesService countriesService) { this.context = context; this.countriesService = countriesService; }
public CountriesController( ICountriesService countriesService, UserManager <ApplicationUser> userManager) { this.countriesService = countriesService; this.userManager = userManager; }
public LakesController( ICountriesService countriesService, ILakesService lakesService) { this.countriesService = countriesService; this.lakesService = lakesService; }
public HomeController( ICountriesService countriesService, ITownsService townsService, ICurrenciesService currenciesService) : base(townsService, currenciesService) { this.countriesService = countriesService; }
public CountriesServiceTests() { _dummyCountriesData = new DummyCountriesData(); _mockCachedLookupService = new Mock <ICachedLookupService>(); _countriesService = new CountriesService(_mockCachedLookupService.Object, ""); }
public MainPageViewModel(ICountriesService countriesService, IMapper mapper, IPageDialogService pageDialogService) { this.countriesService = countriesService; this.mapper = mapper; this.pageDialogService = pageDialogService; SearchCountryCommand = new DelegateCommand(async() => await SearchCountry()); }
public WeatherController() { // Do kontrolerów warto byłoby zbudować fabrykę, która rozwiązywałaby // zależności przez konstruktor i podmienić standardową fabrykę WebAPI/MVC _countriesService = Container.Resolve <ICountriesService>(); _weatherService = Container.Resolve <IWeatherService>(); }
public BeerController(IBeersService beers, IIdentifierProvider identifier, ICountriesService countries, IBeerTypesService beerTypes, ICommentsService comments) { this.beers = beers; this.countries = countries; this.beerTypes = beerTypes; this.identifier = identifier; this.comments = comments; }
public CountriesServiceTests() { this.InitializeMapper(); this.InitializeDatabaseAndRepositories(); this.InitializeFields(); this.countriesService = new CountriesService(this.countriesRepository); }
public LeaguesController( ILeaguesService leaguesService, ICountriesService countriesService, IFixturesService fixturesService) { this.leaguesService = leaguesService; this.countriesService = countriesService; this.fixturesService = fixturesService; }
public CountriesController(ICountriesService countriesService) { if (countriesService == null) { throw new ArgumentNullException("Country service cannot be null"); } this.countriesService = countriesService; }
public CitiesController( ICountriesService countriesService, ICitiesService citiesService, ICloudinaryService cloudinaryService) { this.countriesService = countriesService; this.citiesService = citiesService; this.cloudinaryService = cloudinaryService; }
public AddressesService( IDeletableEntityRepository <Address> addressesRepository, ICountriesService countriesService, ITownsService townsService) { this.addressesRepository = addressesRepository; this.countriesService = countriesService; this.townsService = townsService; }
public CitiesController(ICountriesService countriesService, ICitiesService citiesService, IActionResultMapper <CitiesController> actionResultMapper) { ; _countriesService = countriesService; _citiesService = citiesService; _actionResultMapper = actionResultMapper; }
public ManageCountriesController(ICountriesService countriesService, ICountryModelFactory countryModelFactory, ILocalizationService localizationService, ILocalizedEntityService localizedEntityService) { _countriesService = countriesService; _countryModelFactory = countryModelFactory; _localizationService = localizationService; _localizedEntityService = localizedEntityService; }
public GeoInfoController(ICitiesService citiesService, IUserContext userContext, ICountriesService countriesService) : base(userContext) { Contract.Requires<ArgumentNullException>(citiesService.IsNotNull()); Contract.Requires<ArgumentNullException>(countriesService.IsNotNull()); this.citiesService = citiesService; this.countriesService = countriesService; }
public CarsController( ICarsService carsService, IParkingsService parkingsService, ITownsService townsService, ICountriesService countriesService) { this.carsService = carsService; this.parkingsService = parkingsService; this.townsService = townsService; this.countriesService = countriesService; }
public TownsController( ITownsService townsService, ICountriesService countriesService, IParkingsService parkingsService, IParkingSlotsService parkingSlotsService) { this.townsService = townsService; this.countriesService = countriesService; this.parkingsService = parkingsService; this.parkingSlotsService = parkingSlotsService; }
public ManufacturersController( IManufacturersService manufacturersService, ICountriesService countriesService, IUsersService usersService, IWebHostEnvironment webHostEnvironment) { this.manufacturersService = manufacturersService; this.countriesService = countriesService; this.usersService = usersService; this.webHostEnvironment = webHostEnvironment; }
public LoadsController( ILoadsService loadsService, ICountriesService countriesService, IPriorityTypesService priorityTypesService, ITruckTypesService truckTypesService) { this.loadsService = loadsService; this.countriesService = countriesService; this.priorityTypesService = priorityTypesService; this.truckTypesService = truckTypesService; }
public HomeController( ISalesService salesService, UserManager <ApplicationUser> userManager, ILogger <HomeController> logger, ICountriesService countriesService) { this.salesService = salesService; this.userManager = userManager; this.logger = logger; this.countriesService = countriesService; }
public GeoInfoController(ICitiesService citiesService, IUserContext userContext, ICountriesService countriesService) : base(userContext) { Contract.Requires <ArgumentNullException>(citiesService.IsNotNull()); Contract.Requires <ArgumentNullException>(countriesService.IsNotNull()); this.citiesService = citiesService; this.countriesService = countriesService; }
public MoviesController( IMoviesService moviesService, IDirectorsService directorsService, IGenresService genresService, ICountriesService countriesService) { this.moviesService = moviesService; this.directorsService = directorsService; this.genresService = genresService; this.countriesService = countriesService; }
public ProfileController(SignInManager<ApplicationUser> signInManager, UserManager<ApplicationUser> userManager, ApplicationDbContext dbContext, IUsersService usersService, IUserInfosService userInfosService, ICitiesService citiesService, ICountriesService countriesService, IHostingEnvironment env) : base(userManager, dbContext) { _signInManager = signInManager; _usersService = usersService; _userInfosService = userInfosService; _citiesService = citiesService; _countriesService = countriesService; _env = env; }
public ClientProfileManager( IClientProfileService clientProfileService, ICitiesService citiesService, ICountriesService countriesService, IRepository<Property> propertyRepository, IObligationRepository obligationRepository) { Contract.Requires<ArgumentNullException>(clientProfileService.IsNotNull()); Contract.Requires<ArgumentNullException>(citiesService.IsNotNull()); Contract.Requires<ArgumentNullException>(countriesService.IsNotNull()); this.clientProfileService = clientProfileService; this.citiesService = citiesService; this.countriesService = countriesService; this.propertyRepository = propertyRepository; this.obligationRepository = obligationRepository; }
public PlaceController(IPlacesService places, IIdentifierProvider identifier, ICountriesService countries) { this.places = places; this.countries = countries; this.identifier = identifier; }
public AllPlacesController(IPlacesService places, ICountriesService countries) { this.places = places; this.countries = countries; }
public AllBeersController(IBeersService beers, IBeerTypesService beerTypes, ICountriesService countries) { this.beers = beers; this.beerTypes = beerTypes; this.countries = countries; }
public CountriesController(ICountriesService countriesService) { CountriesService = countriesService; }
public AccountController(ICountriesService countries, IStudentInfosService studentInfos, IDirectorInfosService directorInfos) { this.countries = countries; this.studentInfos = studentInfos; this.directorInfos = directorInfos; }
public CountryProvider(ICountriesService countriesService) { this.countriesService = countriesService; }
public InsurancePolicyViewModel(IPolicyDataService policyDataService, ICountriesService countriesService) { InitializeViewModel(policyDataService,countriesService); }
public StatesController(ICountriesService countriesService, IStatesService statesService) { CountriesService = countriesService; StatesService = statesService; }
public UniversitiesController(IUniversitiesService universities, ICountriesService countries) { this.universities = universities; this.countries = countries; }
public CountriesController(UserManager<ApplicationUser> userManager, ICountriesService countriesService) : base(userManager) { _countriesService = countriesService; }
public CountriesController(ICountriesService countries) { this.countries = countries; }
public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, ICountriesService countries) { this.UserManager = userManager; this.SignInManager = signInManager; this.countries = countries; }