OperationCompletedEventArgs.cs 923 B

1234567891011121314151617181920212223242526272829303132
  1. //-----------------------------------------------------------------------------
  2. // OperationCompletedEventArgs.cs
  3. //
  4. // Microsoft XNA Community Game Platform
  5. // Copyright (C) Microsoft Corporation. All rights reserved.
  6. //-----------------------------------------------------------------------------
  7. using System;
  8. namespace NetworkStateManagement
  9. {
  10. /// <summary>
  11. /// Custom EventArgs class used by the NetworkBusyScreen.OperationCompleted event.
  12. /// </summary>
  13. class OperationCompletedEventArgs : EventArgs
  14. {
  15. /// <summary>
  16. /// Gets or sets the result of the network operation that has just completed.
  17. /// </summary>
  18. public object Result { get; set; }
  19. /// <summary>
  20. /// Constructs a new event arguments class.
  21. /// </summary>
  22. public OperationCompletedEventArgs(object result)
  23. {
  24. this.Result = result;
  25. }
  26. }
  27. }