//----------------------------------------------------------------------------- // OperationCompletedEventArgs.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- using System; namespace CatapultGame { /// /// Custom EventArgs class used by the NetworkBusyScreen.OperationCompleted event. /// class OperationCompletedEventArgs : EventArgs { /// /// 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; /// /// Constructs a new event arguments class. /// public OperationCompletedEventArgs(IAsyncResult asyncResult) { this.asyncResult = asyncResult; } } }