PageRenderTime 52ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/Mercurial.Net/IAsyncResult.cs

#
C# | 24 lines | 11 code | 1 blank | 12 comment | 0 complexity | 1d6615411b6a2125839fd0e66d681a6e MD5 | raw file
Possible License(s): BSD-3-Clause, GPL-2.0
  1. using System;
  2. namespace Mercurial
  3. {
  4. /// <summary>
  5. /// This interface will be returned from <see cref="Repository.BeginExecute{T}"/> in order to
  6. /// produce a type-safe asynchronous execution.
  7. /// </summary>
  8. /// <typeparam name="T">
  9. /// The type of result of executing the command asynchronously.
  10. /// </typeparam>
  11. // ReSharper disable UnusedTypeParameter
  12. public interface IAsyncResult<T> : IAsyncResult
  13. // ReSharper restore UnusedTypeParameter
  14. {
  15. /// <summary>
  16. /// Gets the inner <see cref="IAsyncResult"/> object.
  17. /// </summary>
  18. IAsyncResult InnerResult
  19. {
  20. get;
  21. }
  22. }
  23. }