anx.framework/ANX.Framework/Net/HostChangedEventArgs.cs

30 lines
573 B
C#
Raw Normal View History

using System;
2011-11-16 15:00:54 +00:00
// This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license.
// For details see: http://anxframework.codeplex.com/license
2011-11-16 15:00:54 +00:00
namespace ANX.Framework.Net
{
public class HostChangedEventArgs : EventArgs
{
2011-11-16 15:08:04 +00:00
public NetworkGamer OldHost
{
get;
private set;
}
public NetworkGamer NewHost
{
get;
private set;
}
public HostChangedEventArgs(NetworkGamer oldHost, NetworkGamer newHost)
{
OldHost = oldHost;
NewHost = newHost;
}
2011-11-16 15:00:54 +00:00
}
}