#region File Description
//-----------------------------------------------------------------------------
// OperationCompletedEventArgs.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
#region Using Statements
using System;
#endregion
namespace NetRumble
{
///
/// Custom EventArgs class used by the NetworkBusyScreen.OperationCompleted event.
///
/// Based on a class in the Network Game State Management sample.
class OperationCompletedEventArgs : EventArgs
{
#region Properties
///
/// Gets or sets the IAsyncResult associated with
/// the network operation that has just completed.
///
public IAsyncResult AsyncResult
{
get { return asyncResult; }
set { asyncResult = value; }
}
IAsyncResult asyncResult;
#endregion
#region Initialization
///
/// Constructs a new event arguments class.
///
public OperationCompletedEventArgs(IAsyncResult asyncResult)
{
this.asyncResult = asyncResult;
}
#endregion
}
}