コード例 #1
0
 public EvidenteAppService(IEvidenteRepository evidenteRepository,
                           IWebServiceConsultationRepository webServiceConsultationRepository)
 {
     _evidenteRepository = evidenteRepository;
     _webServiceConsultationRepository       = webServiceConsultationRepository;
     _webSettingsConsultationSettingsBuilder = new WebSettingsConsultationSettingsBuilder();
 }
 public InalambriaNotificationSmsAppService(IInalambriaAuthRepository inalambriaAuthRepository,
                                            IInalambriaRepository inalambriaRepository,
                                            IWebServiceConsultationRepository webServiceConsultationRepository,
                                            WebSettingsConsultationSettingsBuilder webSettingsConsultationSettingsBuilder)
 {
     _inalambriaAuthRepository               = inalambriaAuthRepository;
     _inalambriaRepository                   = inalambriaRepository;
     _webServiceConsultationRepository       = webServiceConsultationRepository;
     _webSettingsConsultationSettingsBuilder = webSettingsConsultationSettingsBuilder;
 }
コード例 #3
0
        public EvidenteRepository(IWebServiceConsultationRepository webServiceConsultationRepository)
        {
            _webServiceConsultationRepository       = webServiceConsultationRepository;
            _webSettingsConsultationSettingsBuilder = new WebSettingsConsultationSettingsBuilder();
            _xmlProcessor = new XmlProcessor();
            var username = ConfigurationManager.AppSettings["EvidenteUsername"];
            var password = ConfigurationManager.AppSettings["EvidentePassword"];

            this.SetNetworkCredentials(username, password);
            RequestEncoding = Encoding.UTF8;
        }
コード例 #4
0
 public WsMotorAppService(IWebServiceConsultationRepository webServiceConsultationRepository, IWsMotorRepository wsMotorRepository)
 {
     _webServiceConsultationRepository = webServiceConsultationRepository;
     _wsMotorRepository = wsMotorRepository;
     _webSettingsConsultationSettingsBuilder = new WebSettingsConsultationSettingsBuilder();
 }