OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / HandBrake.Framework / Model / UpdateCheckResult.cs
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
5 \r
6 namespace HandBrake.Framework.Model\r
7 {\r
8     using System;\r
9     using System.Threading;\r
10 \r
11     /// <summary>\r
12     /// Used in EndUpdateCheck() for update checking and the IAsyncResult design pattern.\r
13     /// </summary>\r
14     public class UpdateCheckResult : IAsyncResult\r
15     {\r
16         /// <summary>\r
17         /// Initializes a new instance of the <see cref="HandBrake.Framework.Model.UpdateCheckResult"/> class.\r
18         /// </summary>\r
19         /// <param name="asyncState">\r
20         /// The async state.\r
21         /// </param>\r
22         /// <param name="info">\r
23         /// The info.\r
24         /// </param>\r
25         public UpdateCheckResult(object asyncState, UpdateCheckInformation info)\r
26         {\r
27             this.AsyncState = asyncState;\r
28             this.Result = info;\r
29         }\r
30 \r
31         /// <summary>\r
32         /// Gets whether the check was executed in debug mode.\r
33         /// </summary>\r
34         public object AsyncState { get; private set; }\r
35 \r
36         /// <summary>\r
37         /// Gets the result of the update check.\r
38         /// </summary>\r
39         public UpdateCheckInformation Result { get; private set; }\r
40 \r
41         /// <summary>\r
42         /// Gets AsyncWaitHandle.\r
43         /// </summary>\r
44         /// <exception cref="NotImplementedException">\r
45         /// </exception>\r
46         public WaitHandle AsyncWaitHandle\r
47         {\r
48             get { throw new NotImplementedException(); }\r
49         }\r
50 \r
51         /// <summary>\r
52         /// Gets a value indicating whether CompletedSynchronously.\r
53         /// </summary>\r
54         /// <exception cref="NotImplementedException">\r
55         /// </exception>\r
56         public bool CompletedSynchronously\r
57         {\r
58             get { throw new NotImplementedException(); }\r
59         }\r
60 \r
61         /// <summary>\r
62         /// Gets a value indicating whether IsCompleted.\r
63         /// </summary>\r
64         /// <exception cref="NotImplementedException">\r
65         /// </exception>\r
66         public bool IsCompleted\r
67         {\r
68             get { throw new NotImplementedException(); }\r
69         }\r
70     }\r
71 }\r