Example #1
0
 public RawMessage(string message, RawMessageDirection direction)
 {
     this.Message = message;
     this.Direction = direction;
 }
 protected virtual void OnRawMessage(string message, RawMessageDirection direction)
 {
     EventHandler<RawMessageEventArgs> eventHandler = this.RawMessage;
     if (eventHandler != null)
     {
         eventHandler(this, new RawMessageEventArgs(new RawMessage(message, direction)));
     }
 }