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