1 /* UpdateCheckResult.cs $
\r
2 This file is part of the HandBrake source code.
\r
3 Homepage: <http://handbrake.fr>.
\r
4 It may be used under the terms of the GNU General Public License. */
\r
6 namespace HandBrake.Framework.Model
\r
9 using System.Threading;
\r
12 /// Used in EndUpdateCheck() for update checking and the IAsyncResult design pattern.
\r
14 public class UpdateCheckResult : IAsyncResult
\r
17 /// Initializes a new instance of the <see cref="HandBrake.Framework.Model.UpdateCheckResult"/> class.
\r
19 /// <param name="asyncState">
\r
20 /// The async state.
\r
22 /// <param name="info">
\r
25 public UpdateCheckResult(object asyncState, UpdateCheckInformation info)
\r
27 this.AsyncState = asyncState;
\r
32 /// Gets whether the check was executed in debug mode.
\r
34 public object AsyncState { get; private set; }
\r
37 /// Gets the result of the update check.
\r
39 public UpdateCheckInformation Result { get; private set; }
\r
42 /// Gets AsyncWaitHandle.
\r
44 /// <exception cref="NotImplementedException">
\r
46 public WaitHandle AsyncWaitHandle
\r
48 get { throw new NotImplementedException(); }
\r
52 /// Gets a value indicating whether CompletedSynchronously.
\r
54 /// <exception cref="NotImplementedException">
\r
56 public bool CompletedSynchronously
\r
58 get { throw new NotImplementedException(); }
\r
62 /// Gets a value indicating whether IsCompleted.
\r
64 /// <exception cref="NotImplementedException">
\r
66 public bool IsCompleted
\r
68 get { throw new NotImplementedException(); }
\r