markus / MarkusAutoUpdate / src / NetSparkle / Enums / UserInteractionMode.cs @ d8f5045e
이력 | 보기 | 이력해설 | 다운로드 (1.16 KB)
1 | d8f5045e | taeseongkim | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.Linq; |
||
4 | using System.Text; |
||
5 | using System.Threading.Tasks; |
||
6 | |||
7 | namespace NetSparkleUpdater.Enums |
||
8 | { |
||
9 | /// <summary> |
||
10 | /// Allows for updating the application with or without user interaction. |
||
11 | /// </summary> |
||
12 | public enum UserInteractionMode |
||
13 | { |
||
14 | /// <summary> |
||
15 | /// Shows the changelog UI automatically (this is the default) |
||
16 | /// </summary> |
||
17 | NotSilent, |
||
18 | /// <summary> |
||
19 | /// Downloads the latest update file and changelog automatically, but does not |
||
20 | /// show any UI until asked to show UI. |
||
21 | /// </summary> |
||
22 | DownloadNoInstall, |
||
23 | /// <summary> |
||
24 | /// Downloads the latest update file and automatically runs it as an installer file. |
||
25 | /// <para>WARNING: if you don't tell the user that the application is about to quit |
||
26 | /// to update/run an installer, this setting might be quite the shock to the user! |
||
27 | /// Make sure to implement AboutToExitForInstallerRun or AboutToExitForInstallerRunAsync |
||
28 | /// so that you can show your users what is about to happen.</para> |
||
29 | /// </summary> |
||
30 | DownloadAndInstall, |
||
31 | } |
||
32 | } |