public PlacePhotoManager(IRepository <SearchedPlace> searchPlaceRepository, IRepository <PlacePhoto> placePhotoRepository,
                          IGooglePlacePhotosApiCaller googlePlacePhotosApiCaller, IGooglePlaceDetailsApiClient googlePlaceDetailsApiClient,
                          IGooglePlaceDetailsInputFactory googlePlaceDetailsInputFactory)
 {
     _placePhotoRepository           = placePhotoRepository;
     _googlePlacePhotosApiCaller     = googlePlacePhotosApiCaller;
     _googlePlaceDetailsApiClient    = googlePlaceDetailsApiClient;
     _googlePlaceDetailsInputFactory = googlePlaceDetailsInputFactory;
 }
示例#2
0
 public PlanProvider(IWeightVectorProvider weightVectorProvider, IPlanElementCandidateFactory planElementCandidateFactory,
                     IDecisionRowFactory decisionRowFactory, ISawMethod sawMethod, IPlanElementsProvider planElementsProvider,
                     IGooglePlaceDetailsApiClient googlePlaceDetailsApiClient, IGooglePlaceDetailsInputFactory googlePlaceDetailsInputFactory)
 {
     _weightVectorProvider        = weightVectorProvider;
     _planElementCandidateFactory = planElementCandidateFactory;
     _decisionRowFactory          = decisionRowFactory;
     _sawMethod                      = sawMethod;
     _planElementsProvider           = planElementsProvider;
     _googlePlaceDetailsApiClient    = googlePlaceDetailsApiClient;
     _googlePlaceDetailsInputFactory = googlePlaceDetailsInputFactory;
 }
 public PlanElementCandidateFactory(
     IGooglePlaceDetailsApiClient googlePlaceDetailsApiClient,
     IGooglePlaceNearbySearchApiClient googlePlaceNearbySearchApiClient,
     IGooglePlaceDetailsInputFactory googlePlaceDetailsInputFactory,
     IGooglePlaceNearbySearchInputFactory googlePlaceNearbySearchInputFactory
     )
 {
     _googlePlaceDetailsApiClient         = googlePlaceDetailsApiClient;
     _googlePlaceNearbySearchApiClient    = googlePlaceNearbySearchApiClient;
     _googlePlaceDetailsInputFactory      = googlePlaceDetailsInputFactory;
     _googlePlaceNearbySearchInputFactory = googlePlaceNearbySearchInputFactory;
 }
示例#4
0
 public PlanElementEatingProvider(
     IGooglePlaceDetailsApiClient googlePlaceDetailsApiClient,
     IGooglePlaceNearbySearchApiClient googlePlaceNearbySearchApiClient,
     IGooglePlaceDetailsInputFactory googlePlaceDetailsInputFactory,
     IGooglePlaceNearbySearchInputFactory googlePlaceNearbySearchInputFactory,
     IDecisionRowFactory decisionRowFactory,
     ISawMethod sawMethod)
 {
     _googlePlaceDetailsApiClient         = googlePlaceDetailsApiClient;
     _googlePlaceNearbySearchApiClient    = googlePlaceNearbySearchApiClient;
     _googlePlaceDetailsInputFactory      = googlePlaceDetailsInputFactory;
     _googlePlaceNearbySearchInputFactory = googlePlaceNearbySearchInputFactory;
     _decisionRowFactory = decisionRowFactory;
     _sawMethod          = sawMethod;
 }