Exemplo n.º 1
0
            public bool IsLinePartOfMessage(FastLogReader.Line line)
            {
                var messageExists = (nick != null && when.HasValue);

                return (messageExists && nick == line.Nick && type == line.Type && line.When.Subtract(when.Value).Minutes <= 1);
            }
Exemplo n.º 2
0
 public void SetState(FastLogReader.Line line)
 {
     nick = line.Nick;
     type = line.Type;
     when = line.When;
 }
Exemplo n.º 3
0
 public void InitializeIfBlank(FastLogReader.Line line)
 {
     when = when ?? line.When;
 }