29 lines
852 B
C#
29 lines
852 B
C#
using System;
|
|
|
|
namespace LaunchDarkly.EventSource
|
|
{
|
|
/// <summary>
|
|
/// Provides data recieved in the EventSource <see cref="EventSource.CommentReceived"/> event.
|
|
/// </summary>
|
|
/// <seealso cref="System.EventArgs" />
|
|
public class CommentReceivedEventArgs : EventArgs
|
|
{
|
|
/// <summary>
|
|
/// Gets the comment received in the Server Sent Event.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The comment.
|
|
/// </value>
|
|
public string Comment { get; }
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="CommentReceivedEventArgs"/> class.
|
|
/// </summary>
|
|
/// <param name="comment">The comment received in the Server Sent Event.</param>
|
|
public CommentReceivedEventArgs(string comment)
|
|
{
|
|
Comment = comment;
|
|
}
|
|
}
|
|
}
|