/Mercurial.Net/IAsyncResult.cs
# · C# · 24 lines · 11 code · 1 blank · 12 comment · 0 complexity · 1d6615411b6a2125839fd0e66d681a6e MD5 · raw file
- using System;
-
- namespace Mercurial
- {
- /// <summary>
- /// This interface will be returned from <see cref="Repository.BeginExecute{T}"/> in order to
- /// produce a type-safe asynchronous execution.
- /// </summary>
- /// <typeparam name="T">
- /// The type of result of executing the command asynchronously.
- /// </typeparam>
- // ReSharper disable UnusedTypeParameter
- public interface IAsyncResult<T> : IAsyncResult
- // ReSharper restore UnusedTypeParameter
- {
- /// <summary>
- /// Gets the inner <see cref="IAsyncResult"/> object.
- /// </summary>
- IAsyncResult InnerResult
- {
- get;
- }
- }
- }