1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #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 NetworkStateManagement
- {
- /// <summary>
- /// Custom EventArgs class used by the NetworkBusyScreen.OperationCompleted event.
- /// </summary>
- class OperationCompletedEventArgs : EventArgs
- {
- #region Properties
- /// <summary>
- /// Gets or sets the IAsyncResult associated with
- /// the network operation that has just completed.
- /// </summary>
- public IAsyncResult AsyncResult
- {
- get { return asyncResult; }
- set { asyncResult = value; }
- }
- IAsyncResult asyncResult;
- #endregion
- #region Initialization
- /// <summary>
- /// Constructs a new event arguments class.
- /// </summary>
- public OperationCompletedEventArgs(IAsyncResult asyncResult)
- {
- this.asyncResult = asyncResult;
- }
- #endregion
- }
- }
|