Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResonanceMessageEventArgs"/> class.
 /// </summary>
 /// <param name="transporter">The request transporter</param>
 /// <param name="message">The resonance message.</param>
 public ResonanceMessageEventArgs(IResonanceTransporter transporter, ResonanceMessage message)
 {
     Transporter = transporter;
     Message     = message;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ResonanceMessageReceivedEventArgs"/> class.
 /// </summary>
 /// <param name="transporter">The request transporter</param>
 /// <param name="message">The resonance message.</param>
 public ResonanceMessageReceivedEventArgs(IResonanceTransporter transporter, ResonanceMessage message) : base(transporter, message)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ResonanceMessageFailedEventArgs"/> class.
 /// </summary>
 /// <param name="transporter">The message transporter.</param>
 /// <param name="message">The resonance message.</param>
 /// <param name="exception">The exception.</param>
 public ResonanceMessageFailedEventArgs(IResonanceTransporter transporter, ResonanceMessage message, Exception exception) : base(transporter, message)
 {
     Exception = exception;
 }