ResultCompletionEventArgs.cs 635 B

123456789101112131415161718192021
  1. namespace Caliburn.Micro.Core {
  2. using System;
  3. /// <summary>
  4. /// The event args for the Completed event of an <see cref="IResult"/>.
  5. /// </summary>
  6. public class ResultCompletionEventArgs : EventArgs {
  7. /// <summary>
  8. /// Gets or sets the error if one occurred.
  9. /// </summary>
  10. /// <value>The error.</value>
  11. public Exception Error;
  12. /// <summary>
  13. /// Gets or sets a value indicating whether the result was cancelled.
  14. /// </summary>
  15. /// <value><c>true</c> if cancelled; otherwise, <c>false</c>.</value>
  16. public bool WasCancelled;
  17. }
  18. }