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

24 lines
726 B
C#

using System;
using ANX.Framework.NonXNA.Development;
// 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
namespace ANX.Framework.Net
{
[PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
public class HostChangedEventArgs : EventArgs
{
public NetworkGamer OldHost { get; private set; }
public NetworkGamer NewHost { get; private set; }
public HostChangedEventArgs(NetworkGamer oldHost, NetworkGamer newHost)
{
OldHost = oldHost;
NewHost = newHost;
}
}
}