Ejemplo n.º 1
0
 public FileProcessor(ILog log, ILogProcessingConfiguration configuration, ILogProcessor logProcessor, ILogEntryGroupBox groupBox)
 {
     Log          = log;
     LogProcessor = logProcessor;
     GroupBox     = groupBox;
     Encoding     = CodePagesEncodingProvider.Instance.GetEncoding(configuration.Encoding) ?? Encoding.UTF8;
 }
 public LogProcessingService(ILogProcessingConfiguration configuration, IFileProcessor oneFileProcessor, IContinuousFileProcessor continuousFileProcessor)
 {
     this.configuration           = configuration;
     this.oneFileProcessor        = oneFileProcessor;
     this.continuousFileProcessor = continuousFileProcessor;
 }
 public ContinuousFileProcessor(ILog log, ILogProcessingConfiguration configuration, ILogProcessor logProcessor, ILogEntryGroupBox groupBox)
     : base(log, configuration, logProcessor, groupBox)
 {
     worker = new Thread(Thread_Job);
     worker.Start();
 }
Ejemplo n.º 4
0
 public LogProcessor(ILogProcessingConfiguration configuration)
 {
     this.configuration = configuration;
 }