コード例 #1
0
 public ExternalController(IAgencyService agencyService, IProductRepository productRepository, IExternalService externalService, IMatchingService matchingService, IMetaProductRepository metaProductRepository)
 {
     this.agencyService = agencyService;
     this.productRepository = productRepository;
     this.externalService = externalService;
     this.matchingService = matchingService;
     this.metaProductRepository = metaProductRepository;
 }
 public OrganizationController(IUnitOfWork unitOfWork, ILogger <OrganizationController> logger, IExternalService externalService)
 {
     _unitOfWork      = unitOfWork;
     _externalService = externalService;
     _logger          = logger;
 }
コード例 #3
0
 public MessagesController(IGetMeals getMeals, ISiteConfigService siteConfigService, IExternalService externalService)
 {
     _getMeals          = getMeals;
     _siteConfigService = siteConfigService;
     _externalService   = externalService;
 }
コード例 #4
0
 public ExternalServiceAdapter(IExternalService externalService)
 {
     _externalService = externalService;
 }
コード例 #5
0
 public PartialController(IExternalService externalService, IStudentService studentService, IPersonalService personalService)
 {
     this.externalService = externalService;
     this.studentService  = studentService;
     this.personalService = personalService;
 }
コード例 #6
0
 public CustomerService(ICustomerRepository customerRepository, IExternalService externalService)
 {
     _customerRepository = customerRepository;
     _externalService = externalService;
 }
コード例 #7
0
 public ComServiceDecorator(IExternalService inner)
 {
     _inner = inner;
 }
コード例 #8
0
 public SampleEvent(ILogger <SampleEvent> logger, IExternalService service)
 {
     //this.service = DispatchProxyService<IExternalService>.Create(service, logger);
     this.service = service;
 }
コード例 #9
0
 public CreateProjectCommandHandler(IExternalService externalService)
 {
     _externalService = externalService;
 }
コード例 #10
0
ファイル: HGSController.cs プロジェクト: saralonr/BankProject
 public HGSController(IExternalService externalService, IAccountService accountService)
 {
     _externalService = externalService;
     _accountService  = accountService;
 }
コード例 #11
0
        //1. refactoring -- all request models need a "BaseRequest" class with 'base' properties and key property (hard code it)
        //2. doing step 1 will allow use to stop repeats (i.e. HandleUnknownRequest)

        public BasicQnAMakerDialog(string channelId, IGetMeals getMeals, ISiteConfigService siteConfigService, IExternalService externalService) : base(new LuisService(new LuisModelAttribute("c446f04c-fc34-40d9-8853-3947206e7e91", "7c9c6106d0144f42b132891ae3749be2")))
        {
            _channelId         = channelId;
            _getMeals          = getMeals;
            _siteConfigService = siteConfigService;
            _externalService   = externalService;
        }
コード例 #12
0
 public SimpleRepositoryService()
 {
     this.gatewayRepository    = new GatewayRepository();
     this.controllerRepository = new ControllerRepository();
     this.externalService      = new ExternalServiceMock();
 }
コード例 #13
0
 public DollarManager(IExternalService externalService, IExchangeRepository repository, ILogger <DollarManager> logger)
 {
     _externalService = externalService;
     _repository      = repository;
     _logger          = logger;
 }
コード例 #14
0
 public ExternalController(IExternalService externalService, ILogger <ExternalController> logger)
 {
     _externalService = externalService;
     _logger          = logger;
 }
コード例 #15
0
 public CustomerService(ICustomerRepository customerRepository, IExternalService externalService)
 {
     _customerRepository = customerRepository;
     _externalService    = externalService;
 }
コード例 #16
0
 public UoWRepositoryService()
 {
     this.dummyWebService = new ExternalServiceMock();
 }
コード例 #17
0
 public HomeController(IExternalService myService, ILocalService anotherService)
 {
     _myService      = myService;
     _anotherService = anotherService;
 }
コード例 #18
0
 public LadderService(ILogger <LadderService> log, IExternalService externalService, IHostingEnvironment env)
 {
     _log             = log;
     _env             = env;
     _externalService = externalService;
 }
コード例 #19
0
 public ValuesController(IDataService dataService, IExternalService externalService)
 {
     _externalService = externalService;
     _dataService     = dataService;
 }
コード例 #20
0
 public CurrencyManagerFactory(IExternalService externalService, IExchangeRepository repository, ICurrencyManager dollarManager)
 {
     _externalService = externalService;
     _repository      = repository;
     _dollarManager   = dollarManager;
 }
コード例 #21
0
 public Thing(IExternalService externalService)
 {
     _externalService = externalService;
 }
コード例 #22
0
 public SearchResult(IExternalService service)
 {
     ServiceName = service.Name;
     Result      = Enum.GetName(typeof(ResultStatus), service.LastRequestStatus);
 }
コード例 #23
0
ファイル: HttpClientProxy.cs プロジェクト: pavanmca17/DemoAPI
 public HttpClientProxy(IHttpClientFactory httpClientFactory, IExternalService externalService, IOptions <Settings> settings)
 {
     _httpClientFactory = httpClientFactory;
     _externalService   = externalService;
     _settings          = settings;
 }
コード例 #24
0
 public ExternalController(
     IExternalService externalService)
 {
     _externalService = externalService;
 }
コード例 #25
0
ファイル: UserService.cs プロジェクト: jbrelloch/BC_Exercise
 public UserService(IExternalService externalService)
 {
     ExternalService = externalService;
 }
コード例 #26
0
 public UsersService1(IExternalService externalService)
 {
     _externalService = externalService;
 }