PageRenderTime 17ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Mercurial.Net/IAsyncResult.cs

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