-
Notifications
You must be signed in to change notification settings - Fork 797
Add profile file location management with policy support and rename folder location properties #3340
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
base: main
Are you sure you want to change the base?
Add profile file location management with policy support and rename folder location properties #3340
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,23 +34,23 @@ private void OnPropertyChanged([CallerMemberName] string propertyName = null) | |
| [JsonIgnore] public bool SettingsChanged { get; set; } | ||
|
|
||
| /// <summary> | ||
| /// Private field for the <see cref="SettingsFolderLocation" /> property." | ||
| /// Private field for the <see cref="Settings_FolderLocation" /> property." | ||
| /// </summary> | ||
| private string _settingsFolderLocation; | ||
| private string _settings_FolderLocation; | ||
|
|
||
| /// <summary> | ||
| /// Location of the folder where the local settings file is stored. | ||
| /// This can be changed by the user to move the settings file to a different location. | ||
| /// </summary> | ||
| public string SettingsFolderLocation | ||
| public string Settings_FolderLocation | ||
| { | ||
| get => _settingsFolderLocation; | ||
| get => _settings_FolderLocation; | ||
| set | ||
| { | ||
| if (_settingsFolderLocation == value) | ||
| if (_settings_FolderLocation == value) | ||
| return; | ||
|
|
||
| _settingsFolderLocation = value; | ||
| _settings_FolderLocation = value; | ||
| OnPropertyChanged(); | ||
| } | ||
| } | ||
|
Comment on lines
41
to
56
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,9 @@ public class PolicyInfo | |
| [JsonPropertyName("Update_CheckForUpdatesAtStartup")] | ||
| public bool? Update_CheckForUpdatesAtStartup { get; set; } | ||
|
|
||
| [JsonPropertyName("SettingsFolderLocation")] | ||
| public string? SettingsFolderLocation { get; set; } | ||
| [JsonPropertyName("Settings_FolderLocation")] | ||
| public string? Settings_FolderLocation { get; set; } | ||
|
|
||
| [JsonPropertyName("Profiles_FolderLocation")] | ||
| public string? Profiles_FolderLocation { get; set; } | ||
|
Comment on lines
+14
to
+18
|
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| { | ||
| "Update_CheckForUpdatesAtStartup": false, | ||
| "SettingsFolderLocation": "C:\\CustomPath\\NETworkManager\\Settings" | ||
| "Settings_FolderLocation": "C:\\CustomPath\\NETworkManager\\Settings", | ||
| "Profiles_FolderLocation": "C:\\CustomPath\\NETworkManager\\Profiles" | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There’s an extra trailing quote in the XML doc comment (
property."), which looks like a typo.