Ejemplo n.º 1
0
        public ProcesadorSync(SIR.Common.Log.Logger logger, DTO.Config.Application config)
        {
            this.Logger = logger;
            this.Config = config;
            this.DAO    = new SIR.Common.DAL.EF.EFDAO(config.ConnectionString, "SYN", Assembly.GetExecutingAssembly());

            this.VEPConnector = new SIR.Common.Connector.VEPConnector(
                new Uri(DAO.Config.Get("VEPUrl", Logger)?.Value),
                DAO.Config.Get("VEPUser", Logger)?.Value,
                DAO.Config.Get("VEPPass", Logger)?.Value
                );
            this.RecaudaConnector = new SIR.Common.Connector.RecaudaConnector(new Uri(DAO.Config.Get("RecaudaUrl", Logger)?.Value));
        }
 public ProcesadorRendiciones(Logger log, Application config)
 {
     this.Logger = log;
     this.Config = config;
     this.DAO    = new SIR.Common.DAL.EF.EFDAO(config.ConnectionString, "SYN", Assembly.GetExecutingAssembly());
 }