blob: 5c69e4d6a0d29a658fbc9aa396f6aea44497bc29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
//-----------------------------------------------------------------------
// <copyright file="ChannelEventArgs.cs" company="Outercurve Foundation">
// Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.Messaging {
using System;
using Validation;
/// <summary>
/// The data packet sent with Channel events.
/// </summary>
public class ChannelEventArgs : EventArgs {
/// <summary>
/// Initializes a new instance of the <see cref="ChannelEventArgs"/> class.
/// </summary>
/// <param name="message">The message behind the fired event..</param>
internal ChannelEventArgs(IProtocolMessage message) {
Requires.NotNull(message, "message");
this.Message = message;
}
/// <summary>
/// Gets the message that caused the event to fire.
/// </summary>
public IProtocolMessage Message { get; private set; }
}
}
|