1
0
mirror of synced 2024-11-14 17:33:49 +00:00
PettingZoo/Model/IConnection.cs
2016-06-20 12:30:03 +02:00

22 lines
433 B
C#

using System;
namespace PettingZoo.Model
{
public class MessageReceivedEventArgs : EventArgs
{
public MessageInfo MessageInfo { get; private set; }
public MessageReceivedEventArgs(MessageInfo messageInfo)
{
MessageInfo = messageInfo;
}
}
public interface IConnection : IDisposable
{
event EventHandler<MessageReceivedEventArgs> MessageReceived;
}
}