-
Notifications
You must be signed in to change notification settings - Fork 76
Adapt to .NET 10 New Features #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
7b12549
c09430c
5f0d8ad
51ef4f2
2f7344b
fb846de
674a4f3
a79ba95
af54567
d41a8b7
ef74f98
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ | |
| using System.Diagnostics.Contracts; | ||
| using System.Text; | ||
| using System.Threading; | ||
| using GeneralUpdate.Common.Shared.Object.Enum; | ||
|
|
||
| namespace GeneralUpdate.Common.Internal.Bootstrap | ||
| { | ||
|
|
@@ -47,6 +48,11 @@ private class UpdateOptionPool : ConstantPool | |
| /// </summary> | ||
| public static readonly UpdateOption<bool?> BackUp = ValueOf<bool?>("BACKUP"); | ||
|
|
||
| /// <summary> | ||
| /// Whether to enable the backup function. | ||
| /// </summary> | ||
| public static readonly UpdateOption<UpdateMode?> Mode = ValueOf<UpdateMode?>("MODE"); | ||
|
Comment on lines
+51
to
+54
|
||
|
|
||
| internal UpdateOption(int id, string name) | ||
| : base(id, name) { } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| namespace GeneralUpdate.Common.Shared.Object.Enum; | ||
|
|
||
| public enum UpdateMode | ||
| { | ||
| Default = 0, | ||
| Scripts = 1 | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.