Esempio n. 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();
 }
Esempio n. 2
0
 public Watcher(IFileWithPosition file, LogEntryParser parser = null, IInvoker invoker = null)
     : base(file, parser, invoker)
 {
 }
Esempio n. 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;
 }
Esempio n. 5
0
 public Poller(IFileWithPosition file, long duration, ILogEntryParser <TLogEntry> parser, Invoker invoker = null)
     : base(file, parser, invoker)
 {
     this.duration = duration;
 }
Esempio n. 6
0
 public Watcher(IFileWithPosition file, ILogEntryParser <TLogEntry> parser, Invoker invoker = null)
     : base(file, parser, invoker)
 {
 }