コード例 #1
0
 /// <summary>
 /// Raises the <see cref="LogReceived"/> event.
 /// </summary>
 /// <param name="timestamp">Time at which log message was received.</param>
 /// <param name="message">Received log line.</param>
 protected virtual void OnLogReceive(DateTime timestamp, string message)
 {
     LogReceived.Fire(ServerEndPoint, new LogReceivedEventArgs {
         Timestamp = timestamp, Message = message
     });
 }