Exemple #1
0
 public LogFileWatcherBase(IFileWithPosition file, LogEntryParser parser = null, IInvoker invoker = null)
 {
     this.File = file;
     this.parser = parser ?? new LogEntryParser();
     this.invoker = invoker ?? new DirectInvoker();
 }
Exemple #2
0
 public Watcher(IFileWithPosition file, LogEntryParser parser = null, IInvoker invoker = null)
     : base(file, parser, invoker)
 {
 }
Exemple #3
0
 public Poller(IFileWithPosition file, long duration, LogEntryParser parser = null, IInvoker invoker = null)
     : base(file, parser, invoker)
 {
     this.duration = duration;
 }
 public LogFileWatcherBase(IFileWithPosition file, ILogEntryParser <TLogEntry> parser, Invoker invoker)
 {
     this.File    = file;
     this.parser  = parser;
     this.invoker = invoker ?? DirectInvoker.Invoke;
 }
 public Poller(IFileWithPosition file, long duration, ILogEntryParser <TLogEntry> parser, Invoker invoker = null)
     : base(file, parser, invoker)
 {
     this.duration = duration;
 }
 public Watcher(IFileWithPosition file, ILogEntryParser <TLogEntry> parser, Invoker invoker = null)
     : base(file, parser, invoker)
 {
 }