namespace adjustment

This commit is contained in:
Clint Rutkas
2024-09-04 15:49:11 -07:00
parent 75ab71f55a
commit a4897b5976
12 changed files with 13 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ using System.Text.Json.Nodes;
using Microsoft.Windows.CommandPalette.Extensions.Helpers;
using Windows.Foundation;
namespace Run.Bookmarks;
namespace Microsoft.CmdPal.Ext.Bookmarks;
internal sealed class AddBookmarkForm : Form
{

View File

@@ -6,7 +6,7 @@ using Microsoft.Windows.CommandPalette.Extensions;
using Microsoft.Windows.CommandPalette.Extensions.Helpers;
using Windows.Foundation;
namespace Run.Bookmarks;
namespace Microsoft.CmdPal.Ext.Bookmarks;
internal sealed class AddBookmarkPage : FormPage
{

View File

@@ -2,7 +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.
namespace Run.Bookmarks;
namespace Microsoft.CmdPal.Ext.Bookmarks;
public class BookmarkData
{

View File

@@ -4,7 +4,7 @@
using System.Text.Json.Serialization;
namespace Run.Bookmarks;
namespace Microsoft.CmdPal.Ext.Bookmarks;
[JsonSerializable(typeof(BookmarkData))]
[JsonSerializable(typeof(string))]

View File

@@ -10,7 +10,7 @@ using System.Text.RegularExpressions;
using Microsoft.Windows.CommandPalette.Extensions.Helpers;
using Windows.System;
namespace Run.Bookmarks;
namespace Microsoft.CmdPal.Ext.Bookmarks;
internal sealed class BookmarkPlaceholderForm : Form
{

View File

@@ -5,7 +5,7 @@
using Microsoft.Windows.CommandPalette.Extensions;
using Microsoft.Windows.CommandPalette.Extensions.Helpers;
namespace Run.Bookmarks;
namespace Microsoft.CmdPal.Ext.Bookmarks;
internal sealed class BookmarkPlaceholderPage : FormPage
{

View File

@@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.IO;
using System.Text.Json;
namespace Run.Bookmarks;
namespace Microsoft.CmdPal.Ext.Bookmarks;
public sealed class Bookmarks
{

View File

@@ -9,7 +9,7 @@ using System.Linq;
using Microsoft.Windows.CommandPalette.Extensions;
using Microsoft.Windows.CommandPalette.Extensions.Helpers;
namespace Run.Bookmarks;
namespace Microsoft.CmdPal.Ext.Bookmarks;
public class BookmarksActionProvider : ICommandProvider
{

View File

@@ -6,7 +6,7 @@ using System;
using Microsoft.Windows.CommandPalette.Extensions;
using Microsoft.Windows.CommandPalette.Extensions.Helpers;
namespace Run.Bookmarks;
namespace Microsoft.CmdPal.Ext.Bookmarks;
internal sealed class OpenInTerminalAction : InvokableCommand
{

View File

@@ -4,7 +4,7 @@
using System.Text.Json.Serialization;
namespace Run.Bookmarks;
namespace Microsoft.CmdPal.Ext.Bookmarks;
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(BookmarkData))]

View File

@@ -6,7 +6,7 @@ using System;
using Microsoft.Windows.CommandPalette.Extensions.Helpers;
using Windows.System;
namespace Run.Bookmarks;
namespace Microsoft.CmdPal.Ext.Bookmarks;
public class UrlAction : InvokableCommand
{

View File

@@ -9,6 +9,7 @@ using CmdPal.Models;
using DeveloperCommandPalette;
using Microsoft.CmdPal.Common.Extensions;
using Microsoft.CmdPal.Common.Services;
using Microsoft.CmdPal.Ext.Bookmarks;
using Microsoft.CmdPal.Ext.Calc;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
@@ -49,7 +50,7 @@ public sealed class MainViewModel
internal MainViewModel()
{
_builtInCommands.Add(new Run.Bookmarks.BookmarksActionProvider());
_builtInCommands.Add(new BookmarksActionProvider());
_builtInCommands.Add(new CalculatorActionProvider());
_builtInCommands.Add(new SettingsActionProvider());
_builtInCommands.Add(quitActionProvider);