Exemplo n.º 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;
 }
Exemplo n.º 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;
        }
 public WsMotorAppService(IWebServiceConsultationRepository webServiceConsultationRepository, IWsMotorRepository wsMotorRepository)
 {
     _webServiceConsultationRepository = webServiceConsultationRepository;
     _wsMotorRepository = wsMotorRepository;
     _webSettingsConsultationSettingsBuilder = new WebSettingsConsultationSettingsBuilder();
 }