diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/AddBookmarkForm.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/AddBookmarkForm.cs index 1656db3d0e..27a3292c27 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/AddBookmarkForm.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/AddBookmarkForm.cs @@ -2,7 +2,6 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Text.Json; using System.Text.Json.Nodes; using Microsoft.Windows.CommandPalette.Extensions.Helpers; using Windows.Foundation; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/AddBookmarkPage.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/AddBookmarkPage.cs index c3a004aadc..cb6c20631f 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/AddBookmarkPage.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/AddBookmarkPage.cs @@ -2,16 +2,9 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Nodes; -using System.Text.Json.Serialization; -using System.Text.RegularExpressions; using Microsoft.Windows.CommandPalette.Extensions; using Microsoft.Windows.CommandPalette.Extensions.Helpers; using Windows.Foundation; -using Windows.System; -using static System.Runtime.InteropServices.JavaScript.JSType; namespace Run.Bookmarks; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkData.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkData.cs index fa402ede13..906d30cd29 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkData.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkData.cs @@ -2,22 +2,13 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Nodes; -using System.Text.Json.Serialization; -using System.Text.RegularExpressions; -using Microsoft.Windows.CommandPalette.Extensions; -using Microsoft.Windows.CommandPalette.Extensions.Helpers; -using Windows.Foundation; -using Windows.System; -using static System.Runtime.InteropServices.JavaScript.JSType; - namespace Run.Bookmarks; public class BookmarkData { - public string Name = string.Empty; - public string Bookmark = string.Empty; - public string Type = string.Empty; + public string Name { get; set; } = string.Empty; + + public string Bookmark { get; set; } = string.Empty; + + public string Type { get; set; } = string.Empty; } diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkDataContext.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkDataContext.cs index 51a87d95e0..3c66f25ecd 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkDataContext.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkDataContext.cs @@ -2,16 +2,7 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Nodes; using System.Text.Json.Serialization; -using System.Text.RegularExpressions; -using Microsoft.Windows.CommandPalette.Extensions; -using Microsoft.Windows.CommandPalette.Extensions.Helpers; -using Windows.Foundation; -using Windows.System; -using static System.Runtime.InteropServices.JavaScript.JSType; namespace Run.Bookmarks; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkPlaceholderForm.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkPlaceholderForm.cs index de061efb57..18b4f675be 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkPlaceholderForm.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkPlaceholderForm.cs @@ -2,20 +2,14 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Collections.Generic; -using System.Text.Json; using System.Text.Json.Nodes; -using System.Text.Json.Serialization; using System.Text.RegularExpressions; -using Microsoft.Windows.CommandPalette.Extensions; using Microsoft.Windows.CommandPalette.Extensions.Helpers; -using Windows.Foundation; using Windows.System; -using static System.Runtime.InteropServices.JavaScript.JSType; namespace Run.Bookmarks; -internal sealed class BookmarkPlaceholderForm : Microsoft.Windows.CommandPalette.Extensions.Helpers.Form +internal sealed class BookmarkPlaceholderForm : Form { private readonly List _placeholderNames; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkPlaceholderPage.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkPlaceholderPage.cs index eedd7192f8..5cecb05d81 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkPlaceholderPage.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarkPlaceholderPage.cs @@ -2,16 +2,8 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Nodes; -using System.Text.Json.Serialization; -using System.Text.RegularExpressions; using Microsoft.Windows.CommandPalette.Extensions; using Microsoft.Windows.CommandPalette.Extensions.Helpers; -using Windows.Foundation; -using Windows.System; -using static System.Runtime.InteropServices.JavaScript.JSType; namespace Run.Bookmarks; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/Bookmarks.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/Bookmarks.cs index fc072ab82c..691dbc7cfb 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/Bookmarks.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/Bookmarks.cs @@ -2,17 +2,7 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Collections.Generic; using System.Text.Json; -using System.Text.Json.Nodes; -using System.Text.Json.Serialization; -using System.Text.RegularExpressions; -using Json.Path; -using Microsoft.Windows.CommandPalette.Extensions; -using Microsoft.Windows.CommandPalette.Extensions.Helpers; -using Windows.Foundation; -using Windows.System; -using static System.Runtime.InteropServices.JavaScript.JSType; namespace Run.Bookmarks; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarksActionProvider.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarksActionProvider.cs index ab2d8d6dec..073d97d4d0 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarksActionProvider.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/BookmarksActionProvider.cs @@ -2,7 +2,6 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Text.Json; using Microsoft.Windows.CommandPalette.Extensions; using Microsoft.Windows.CommandPalette.Extensions.Helpers; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/OpenInTerminalAction.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/OpenInTerminalAction.cs index 060d4047d4..02178bac5f 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/OpenInTerminalAction.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/OpenInTerminalAction.cs @@ -2,16 +2,8 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Nodes; -using System.Text.Json.Serialization; -using System.Text.RegularExpressions; using Microsoft.Windows.CommandPalette.Extensions; using Microsoft.Windows.CommandPalette.Extensions.Helpers; -using Windows.Foundation; -using Windows.System; -using static System.Runtime.InteropServices.JavaScript.JSType; namespace Run.Bookmarks; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/SourceGenerationContext.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/SourceGenerationContext.cs index ef1d6426fe..50cdd72256 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/SourceGenerationContext.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/SourceGenerationContext.cs @@ -2,16 +2,7 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Nodes; using System.Text.Json.Serialization; -using System.Text.RegularExpressions; -using Microsoft.Windows.CommandPalette.Extensions; -using Microsoft.Windows.CommandPalette.Extensions.Helpers; -using Windows.Foundation; -using Windows.System; -using static System.Runtime.InteropServices.JavaScript.JSType; namespace Run.Bookmarks; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/UrlAction.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/UrlAction.cs index b2e79f7846..979bbff547 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/UrlAction.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Builtins/Bookmark/UrlAction.cs @@ -2,16 +2,8 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Nodes; -using System.Text.Json.Serialization; -using System.Text.RegularExpressions; -using Microsoft.Windows.CommandPalette.Extensions; using Microsoft.Windows.CommandPalette.Extensions.Helpers; -using Windows.Foundation; using Windows.System; -using static System.Runtime.InteropServices.JavaScript.JSType; namespace Run.Bookmarks;