Dev/crutkas/name spacepart1 (#5)

* updating namespace for common

* Adjusting folder structure now so we can do larger move
This commit is contained in:
Clint Rutkas
2024-08-29 12:34:46 -07:00
committed by GitHub
parent 1a89580d7c
commit a0dd9d161f
17 changed files with 26 additions and 26 deletions

View File

@@ -18,7 +18,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Windows.CommandPa
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CmdPal.Extensions.Helpers", "extensionsdk\Microsoft.Windows.CommandPalette.Extensions.Helpers\Microsoft.CmdPal.Extensions.Helpers.csproj", "{79060D06-7174-4D66-8D0B-4FF021154049}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CmdPal.Common", "src\common\Microsoft.CmdPal.Common.csproj", "{05CDE6EE-23AE-42AF-A9F5-E398C382675F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CmdPal.Common", "src\Microsoft.CmdPal.Common\Microsoft.CmdPal.Common.csproj", "{05CDE6EE-23AE-42AF-A9F5-E398C382675F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace CmdPal.Common.Contracts;
namespace Microsoft.CmdPal.Common.Contracts;
public interface IFileService
{

View File

@@ -3,7 +3,7 @@
using System.Threading.Tasks;
namespace CmdPal.Common.Contracts;
namespace Microsoft.CmdPal.Common.Contracts;
public interface ILocalSettingsService
{

View File

@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using CmdPal.Common.Services;
using Microsoft.CmdPal.Common.Services;
using Microsoft.UI.Xaml;
namespace CmdPal.Common.Extensions;
namespace Microsoft.CmdPal.Common.Extensions;
/// <summary>
/// Extension class implementing extension methods for <see cref="Application"/>.

View File

@@ -5,7 +5,7 @@ using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace CmdPal.Common.Extensions;
namespace Microsoft.CmdPal.Common.Extensions;
public static class IHostExtensions
{

View File

@@ -6,7 +6,7 @@ using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
namespace CmdPal.Common.Helpers;
namespace Microsoft.CmdPal.Common.Helpers;
public static class Json
{

View File

@@ -6,7 +6,7 @@ using System.Security.Principal;
using Windows.Win32;
using Windows.Win32.Foundation;
namespace CmdPal.Common.Helpers;
namespace Microsoft.CmdPal.Common.Helpers;
public static class RuntimeHelper
{

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\..\Common.Dotnet.CsWinRT.props" />
<PropertyGroup>
<RootNamespace>CmdPal.Common</RootNamespace>
<RootNamespace>Microsoft.CmdPal.Common</RootNamespace>
<Nullable>enable</Nullable>
<UseWinUI>true</UseWinUI>
</PropertyGroup>

View File

@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace CmdPal.Common.Models;
namespace Microsoft.CmdPal.Common.Models;
public class LocalSettingsOptions
{

View File

@@ -4,9 +4,9 @@
using System.IO;
using System.Text;
using System.Text.Json;
using CmdPal.Common.Contracts;
using Microsoft.CmdPal.Common.Contracts;
namespace CmdPal.Common.Services;
namespace Microsoft.CmdPal.Common.Services;
public class FileService : IFileService
{

View File

@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace CmdPal.Common.Services;
namespace Microsoft.CmdPal.Common.Services;
/// <summary>
/// Interface for the current application singleton object exposing the API

View File

@@ -5,13 +5,13 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using CmdPal.Common.Contracts;
using CmdPal.Common.Helpers;
using CmdPal.Common.Models;
using Microsoft.CmdPal.Common.Contracts;
using Microsoft.CmdPal.Common.Helpers;
using Microsoft.CmdPal.Common.Models;
using Microsoft.Extensions.Options;
using Windows.Storage;
namespace CmdPal.Common.Services;
namespace Microsoft.CmdPal.Common.Services;
public class LocalSettingsService : ILocalSettingsService
{

View File

@@ -6,12 +6,12 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using CmdPal.Common.Contracts;
using CmdPal.Common.Models;
using CmdPal.Common.Services;
using Microsoft.CmdPal.Common.Contracts;
using Microsoft.CmdPal.Common.Models;
using Microsoft.CmdPal.Common.Services;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using CmdPal.Common.Extensions;
using Microsoft.CmdPal.Common.Extensions;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;

View File

@@ -11,8 +11,8 @@ using System.Runtime.InteropServices;
using Windows.Win32.Foundation;
using Microsoft.Win32;
using Windows.Graphics;
using CmdPal.Common.Contracts;
using CmdPal.Common.Extensions;
using Microsoft.CmdPal.Common.Contracts;
using Microsoft.CmdPal.Common.Extensions;
using System.Text.RegularExpressions;
using Windows.System;
using Windows.Win32.UI.WindowsAndMessaging;

View File

@@ -70,7 +70,7 @@
<ProjectReference Include="..\..\extensionsdk\Microsoft.Windows.CommandPalette.Extensions.Helpers\Microsoft.CmdPal.Extensions.Helpers.csproj" />
<ProjectReference Include="..\Plugins\AllApps\AllApps.csproj" />
<ProjectReference Include="..\Plugins\Calculator\Calculator.csproj" />
<ProjectReference Include="..\common\Microsoft.CmdPal.Common.csproj" />
<ProjectReference Include="..\Microsoft.CmdPal.Common\Microsoft.CmdPal.Common.csproj" />
<ProjectReference Include="..\Microsoft.Terminal.UI\Microsoft.Terminal.UI.vcxproj">
<ReferenceOutputAssembly>True</ReferenceOutputAssembly>
<Private>True</Private>

View File

@@ -5,8 +5,8 @@ using Microsoft.Windows.CommandPalette.Extensions;
using Microsoft.Windows.CommandPalette.Extensions.Helpers;
using System.Text.Json.Nodes;
using Microsoft.UI.Xaml;
using CmdPal.Common.Contracts;
using CmdPal.Common.Extensions;
using Microsoft.CmdPal.Common.Contracts;
using Microsoft.CmdPal.Common.Extensions;
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.