예제 #1
0
        public frmDescargas(ILogCreator logCreator, IDownloadManager downloadManager)
        {
            InitializeComponent();

            _logger          = logCreator.GetTipoLogger <frmDescargas>();
            _downloadManager = downloadManager;
        }
예제 #2
0
 public DownloadManager(ILogCreator logCreator, IJsonManager jsonManager, IDirectorio directorio, ISaveFiles saveFiles, ISerializacion serializacion)
 {
     _logger        = logCreator.GetTipoLogger <frmDescargas>();
     _jsonManager   = jsonManager;
     _directorio    = directorio;
     _saveFiles     = saveFiles;
     _serializacion = serializacion;
 }
예제 #3
0
        public LogMonitor(ILogCreator logger,
                          ILogRepository <TLogEntity> logRepository,
                          List <ILogTrigger <TLogEntity> > triggers
                          )
        {
            _logRepository = logRepository;
            _logger        = logger;

            if ((triggers != null) && (triggers.Any()))
            {
                _triggers.AddRange(triggers);
            }
        }
예제 #4
0
 public Serializacion(ILogCreator logCreator)
 {
     _logger = logCreator.GetTipoLogger <Serializacion>();
     _file   = System.AppDomain.CurrentDomain.BaseDirectory + @"\ErrorDescarga.bin";
 }
예제 #5
0
 public ObtenerJsonFromRestService(ILogCreator logCreator)
 {
     _logger = logCreator.GetTipoLogger <ObtenerJsonFromRestService>();
 }
예제 #6
0
 public DirectorioToDisK(ILogCreator logCreator)
 {
     _logger = logCreator.GetTipoLogger <DirectorioToDisK>();
 }
예제 #7
0
 public IniciaApp(ILogCreator logCreator)
 {
     _logger = logCreator.GetTipoLogger <IniciaApp>();
 }
 public ClassWithLogger(ILogCreator logCreator)
 {
     logger = logCreator.GetTypeLogger <ClassWithLogger>();
 }
예제 #9
0
 public LogCreatorStrategy(ILogCreator logCreator)
 {
     _logCreator = logCreator;
 }
예제 #10
0
 public JsonManager(ILogCreator logCreator, IObtenerJson obtenerJson)
 {
     _logger      = _logger = logCreator.GetTipoLogger <JsonManager>();
     _obtenerJson = obtenerJson;
 }
예제 #11
0
 public SaveFilesFromRestService(ILogCreator logCreator)
 {
     _logger = _logger = logCreator.GetTipoLogger <SaveFilesFromRestService>();
 }