Пример #1
0
 public ContactFacade(
     IContactService contactService,
     IZipCodeService zipCodeService)
 {
     _contactService = contactService;
     _zipCodeService = zipCodeService;
 }
Пример #2
0
 public ZipCodeFacade(
     IZipCodeService zipCodeService,
     ICityService cityService)
 {
     _zipCodeService = zipCodeService;
     _cityService    = cityService;
 }
Пример #3
0
 public FactualService()
 {
     this.category_ZipCodeService = new Category_ZipCodeService();
     this.businessService = new BusinessService();
     this.zipcodeService = new ZipCodeService();
     this.businessCategoryService = new BusinessCategoryService();
 }
Пример #4
0
 public AjaxController(IZipCodeService zipCodeService, IWorkflowMessageService workflowMessageService
                       , IServiceRequestService serviceRequestService)
 {
     this._zipCodeService         = zipCodeService;
     this._workflowMessageService = workflowMessageService;
     this._serviceRequestService  = serviceRequestService;
 }
Пример #5
0
 public AjaxController(IZipCodeService zipCodeService, IWorkflowMessageService workflowMessageService
     , IServiceRequestService serviceRequestService)
 {
     this._zipCodeService = zipCodeService;
     this._workflowMessageService = workflowMessageService;
     this._serviceRequestService = serviceRequestService;
 }
Пример #6
0
 public HomeController(ILogger <HomeController> logger,
                       IGeographicLookupService geographicLookupService,
                       IZipCodeService zipCodeService)
 {
     _logger = logger;
     _geographicLookupService = geographicLookupService;
     _zipCodeService          = zipCodeService;
 }
Пример #7
0
 public OrderController(IWorkContext workContext, ICustomerService customerService, IOrderService orderService,
                        IQuestionAnswerEntityData questionAnswerEntityDataService, IZipCodeService zipCodeService)
 {
     this._customerService = customerService;
     this._workContext     = workContext;
     this._orderService    = orderService;
     this._questionAnswerEntityDataService = questionAnswerEntityDataService;
     this._zipCodeService = zipCodeService;
 }
Пример #8
0
 public OrderController(IWorkContext workContext, ICustomerService customerService,IOrderService orderService,
     IQuestionAnswerEntityData questionAnswerEntityDataService, IZipCodeService zipCodeService)
 {
     this._customerService = customerService;
     this._workContext = workContext;
     this._orderService = orderService;
     this._questionAnswerEntityDataService = questionAnswerEntityDataService;
     this._zipCodeService = zipCodeService;
 }
 public WorkflowMessageService(IWebHelper webHelper, IZipCodeService zipCodeService,
                               IQuestionAnswerEntityData questionAnswerEntityDataService, IDateTimeHelper dateTimeHelper
                               , ICustomerService customerService)
 {
     this._webHelper      = webHelper;
     this._zipCodeService = zipCodeService;
     _siteSetting         = new SiteSetting();
     this._questionAnswerEntityDataService = questionAnswerEntityDataService;
     this._dateTimeHelper  = dateTimeHelper;
     this._customerService = customerService;
 }
        public void Setup()
        {
            mockHandler           = new Mock <HttpMessageHandler>();
            mockHttpClientFactory = new Mock <IHttpClientFactory>();
            mockConfig            = new Mock <IConfiguration>();
            mockAppSettings       = new Mock <IConfigurationSection>();

            SetupMocks();

            serviceUnderTest = new SmartyStreetsAsyncService(mockHttpClientFactory.Object, mockConfig.Object);
        }
Пример #11
0
 public AdminController(IMembershipPackageService membershipPackageService, IPackageItemService packageItemService, IBusinessCategoryService businessCategoryService, IZipCodeService zipcodeService,
     ICategory_ZipCodeService category_ZipCodeService, IUserService userService, IBusinessService businessService)
 {
     this.membershipPackageService = membershipPackageService;
     this.packageItemService = packageItemService;
     this.businessCategoryService = businessCategoryService;
     this.zipcodeService = zipcodeService;
     this.category_ZipCodeService = category_ZipCodeService;
     this.userService = userService;
     this.businessService = businessService;
 }
Пример #12
0
 public FactualDownload()
 {
     InitializeComponent();
     this.businessCategoryService = new BusinessCategoryService();
     this.zipcodeService = new ZipCodeService();
     this.factualService = new FactualService();
     InitData();
     factualWorker = new BackgroundWorker();
     tbarDownload.Minimum = 0;
     tbarDownload.Maximum = 0;
     threadSearch = new Thread(new ThreadStart(OnCitySearch));
     System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false;
 }
Пример #13
0
 public AccountController(ICustomerService customerService, IWorkContext workContext, HttpContextBase httpContext, IAuthenticationService authenticationService, IWebHelper webHelper
                          , IAddressService addressService
                          , IWorkflowMessageService workflowMessageService
                          , IZipCodeService zipCodeService)
 {
     this._customerService        = customerService;
     this._workContext            = workContext;
     this._authenticationService  = authenticationService;
     this._webHelper              = webHelper;
     this._httpContext            = httpContext;
     this._addressService         = addressService;
     this._workflowMessageService = workflowMessageService;
     this._zipCodeService         = zipCodeService;
 }
Пример #14
0
 public AccountController(ICustomerService customerService, IWorkContext workContext, HttpContextBase httpContext, IAuthenticationService authenticationService, IWebHelper webHelper
     , IAddressService addressService
     , IWorkflowMessageService workflowMessageService
     , IZipCodeService zipCodeService)
 {
     this._customerService = customerService;
     this._workContext = workContext;
     this._authenticationService = authenticationService;
     this._webHelper = webHelper;
     this._httpContext = httpContext;
     this._addressService = addressService;
     this._workflowMessageService = workflowMessageService;
     this._zipCodeService = zipCodeService;
 }
Пример #15
0
        public GutterOrderController(IWorkContext workContext, ICustomerService customerService, IOrderService orderService,
                                     IQuestionAnswerEntityData questionAnswerEntityDataService, IZipCodeService zipCodeService,
                                     IWorkflowMessageService workflowMessageService,
                                     IDateTimeHelper dateTimeHelper,
                                     IDbContext dbContext)
        {
            this._customerService = customerService;
            this._workContext     = workContext;
            this._orderService    = orderService;
            this._questionAnswerEntityDataService = questionAnswerEntityDataService;
            this._zipCodeService = zipCodeService;

            this._workflowMessageService = workflowMessageService;
            this._dateTimeHelper         = dateTimeHelper;
            this._dbContext = dbContext;
        }
        public GutterOrderController(IWorkContext workContext, ICustomerService customerService, IOrderService orderService,
            IQuestionAnswerEntityData questionAnswerEntityDataService, IZipCodeService zipCodeService,
            IWorkflowMessageService workflowMessageService,
            IDateTimeHelper dateTimeHelper,
            IDbContext dbContext)
        {
            this._customerService = customerService;
            this._workContext = workContext;
            this._orderService = orderService;
            this._questionAnswerEntityDataService = questionAnswerEntityDataService;
            this._zipCodeService = zipCodeService;

            this._workflowMessageService = workflowMessageService;
            this._dateTimeHelper = dateTimeHelper;
            this._dbContext = dbContext;
        }
Пример #17
0
 public HomeController(IDbContext context, IAuthenticationService authenticationService, IWorkContext workContext, ICustomerService customerService,
                       IQuestionAnswerEntityData questionAnswerEntityDataService, HttpContextBase httpContext,
                       IPaymentMethod paymentMethod, IOrderService orderService, IWebHelper webHelper,
                       IWorkflowMessageService workflowMessageService, IZipCodeService zipCodeService,
                       IDbContext dbContext)
 {
     this._context = context;
     this._authenticationService           = authenticationService;
     this._customerService                 = customerService;
     this._workContext                     = workContext;
     this._questionAnswerEntityDataService = questionAnswerEntityDataService;
     this._httpContext                     = httpContext;
     this._paymentMethod                   = paymentMethod;
     this._orderService                    = orderService;
     this._webHelper = webHelper;
     this._workflowMessageService = workflowMessageService;
     this._zipCodeService         = zipCodeService;
     this._dbContext = dbContext;
 }
Пример #18
0
 public HomeController(IDbContext context, IAuthenticationService authenticationService, IWorkContext workContext, ICustomerService customerService,
     IQuestionAnswerEntityData questionAnswerEntityDataService, HttpContextBase httpContext,
     IPaymentMethod paymentMethod, IOrderService orderService, IWebHelper webHelper,
     IWorkflowMessageService workflowMessageService, IZipCodeService zipCodeService,
     IDbContext dbContext)
 {
     this._context = context;
     this._authenticationService = authenticationService;
     this._customerService = customerService;
     this._workContext = workContext;
     this._questionAnswerEntityDataService = questionAnswerEntityDataService;
     this._httpContext = httpContext;
     this._paymentMethod = paymentMethod;
     this._orderService = orderService;
     this._webHelper = webHelper;
     this._workflowMessageService = workflowMessageService;
     this._zipCodeService = zipCodeService;
     this._dbContext = dbContext;
 }
 public NoaaWeatherClient(IZipCodeService zipCodeService)
 {
     ZipCodeService = zipCodeService;
 }
 public ZipCodeController()
 {
     this.service = new ZipCodeService();
 }
 public WorkflowMessageService(IWebHelper webHelper, IZipCodeService zipCodeService,
     IQuestionAnswerEntityData questionAnswerEntityDataService, IDateTimeHelper dateTimeHelper
     , ICustomerService customerService)
 {
     this._webHelper = webHelper;
     this._zipCodeService = zipCodeService;
     _siteSetting = new SiteSetting();
     this._questionAnswerEntityDataService = questionAnswerEntityDataService;
     this._dateTimeHelper =dateTimeHelper;
     this._customerService = customerService;
 }
Пример #22
0
 public ZipCodeController(IZipCodeService zipCodeService)
 {
     _zipCodeService = zipCodeService;
 }
Пример #23
0
 public NoaaWeatherDriver(IZipCodeService zipCodeService)
 {
     this.zipCodeService = zipCodeService;
 }
 public ZipCodeCache(IZipCodeService realService)
 {
     this.realService = realService;
 }
Пример #25
0
 public ZipCodeController()
 {
     this.service = new ZipCodeService();
 }
Пример #26
0
 public HomeController(IZipCodeService zipCodeService)
 {
     this.zipCodeService = zipCodeService;
 }