diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Contracts/IFileService.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Contracts/IFileService.cs index 6b71ed8957..b9348eb520 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Contracts/IFileService.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Contracts/IFileService.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// The Microsoft Corporation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace Microsoft.CmdPal.Common.Contracts; diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Contracts/ILocalSettingsService.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Contracts/ILocalSettingsService.cs index 833d28cf7f..2350050e3e 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Contracts/ILocalSettingsService.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Contracts/ILocalSettingsService.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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.Threading.Tasks; diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Extensions/ApplicationExtensions.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Extensions/ApplicationExtensions.cs index 2242a94b4e..a975083c7c 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Extensions/ApplicationExtensions.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Extensions/ApplicationExtensions.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// The Microsoft Corporation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using Microsoft.CmdPal.Common.Services; using Microsoft.UI.Xaml; diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Extensions/IHostExtensions.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Extensions/IHostExtensions.cs index 1b4ee136c1..660dcd2931 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Extensions/IHostExtensions.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Extensions/IHostExtensions.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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; using Microsoft.Extensions.DependencyInjection; diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Helpers/Json.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Helpers/Json.cs index 86d241b19a..d865e10bdb 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Helpers/Json.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Helpers/Json.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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.IO; using System.Text; diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Helpers/RuntimeHelper.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Helpers/RuntimeHelper.cs index 32668439a5..0942191e37 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Helpers/RuntimeHelper.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Helpers/RuntimeHelper.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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; using System.Security.Principal; diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Models/LocalSettingsOptions.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Models/LocalSettingsOptions.cs index c561530151..bae7422878 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Models/LocalSettingsOptions.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Models/LocalSettingsOptions.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// The Microsoft Corporation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace Microsoft.CmdPal.Common.Models; diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/FileService.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/FileService.cs index d839d04205..ba54009a5e 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/FileService.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/FileService.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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.IO; using System.Text; diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IApp.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IApp.cs index 93d66bf86e..92980dfaff 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IApp.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IApp.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// The Microsoft Corporation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace Microsoft.CmdPal.Common.Services; diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IExtensionService.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IExtensionService.cs index b04ad212e6..12f55f3b36 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IExtensionService.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IExtensionService.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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; using System.Collections.Generic; diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IExtensionWrapper.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IExtensionWrapper.cs index 44ecca27be..6b3f55b960 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IExtensionWrapper.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/IExtensionWrapper.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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; using System.Collections.Generic; diff --git a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/LocalSettingsService.cs b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/LocalSettingsService.cs index 1e8b5c3476..6fffb6e601 100644 --- a/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/LocalSettingsService.cs +++ b/src/modules/cmdpal/src/Microsoft.CmdPal.Common/Services/LocalSettingsService.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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; using System.Collections.Generic; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/App.xaml.cs b/src/modules/cmdpal/src/WindowsCommandPalette/App.xaml.cs index 5059e54b52..e2a12be50e 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/App.xaml.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/App.xaml.cs @@ -1,11 +1,7 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Runtime.InteropServices.WindowsRuntime; using Microsoft.CmdPal.Common.Contracts; using Microsoft.CmdPal.Common.Models; using Microsoft.CmdPal.Common.Services; @@ -14,17 +10,6 @@ using Microsoft.Extensions.Hosting; using Microsoft.CmdPal.Common.Extensions; using Microsoft.UI.Xaml; -using Microsoft.UI.Xaml.Controls; -using Microsoft.UI.Xaml.Controls.Primitives; -using Microsoft.UI.Xaml.Data; -using Microsoft.UI.Xaml.Input; -using Microsoft.UI.Xaml.Media; -using Microsoft.UI.Xaml.Navigation; -using Microsoft.UI.Xaml.Shapes; -using Windows.ApplicationModel; -using Windows.ApplicationModel.Activation; -using Windows.Foundation; -using Windows.Foundation.Collections; using Microsoft.Windows.CommandPalette.Services; // To learn more about WinUI, the WinUI project structure, diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/BookmarkActions.cs b/src/modules/cmdpal/src/WindowsCommandPalette/BookmarkActions.cs index 661872ea46..8f92d72e2d 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/BookmarkActions.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/BookmarkActions.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// The Microsoft Corporation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using Windows.Foundation; using Microsoft.Windows.CommandPalette.Extensions; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/FormPage.xaml.cs b/src/modules/cmdpal/src/WindowsCommandPalette/FormPage.xaml.cs index e8ebb05564..2649e4716a 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/FormPage.xaml.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/FormPage.xaml.cs @@ -1,17 +1,21 @@ -using Microsoft.UI.Xaml; -using Microsoft.UI.Xaml.Controls; -using Microsoft.UI.Xaml.Navigation; +// Copyright (c) Microsoft Corporation +// 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; -using Microsoft.Windows.CommandPalette.Extensions; -using Windows.System; -using Microsoft.UI.Xaml.Input; -using AdaptiveCards.Rendering.WinUI3; -using AdaptiveCards.ObjectModel.WinUI3; -using Windows.UI.ViewManagement; -using AdaptiveCards.Templating; using System.Collections.ObjectModel; -using Windows.Foundation; using System.ComponentModel; +using AdaptiveCards.ObjectModel.WinUI3; +using AdaptiveCards.Rendering.WinUI3; +using AdaptiveCards.Templating; +using Microsoft.UI.Xaml; +using Microsoft.UI.Xaml.Controls; +using Microsoft.UI.Xaml.Input; +using Microsoft.UI.Xaml.Navigation; +using Microsoft.Windows.CommandPalette.Extensions; +using Windows.Foundation; +using Windows.System; +using Windows.UI.ViewManagement; namespace DeveloperCommandPalette; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/ListItemViewModel.cs b/src/modules/cmdpal/src/WindowsCommandPalette/ListItemViewModel.cs index 89975362e0..01d35cba5a 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/ListItemViewModel.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/ListItemViewModel.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// The Microsoft Corporation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using Microsoft.UI.Xaml.Controls; using Microsoft.Windows.CommandPalette.Extensions; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/ListPage.xaml.cs b/src/modules/cmdpal/src/WindowsCommandPalette/ListPage.xaml.cs index af96927881..63b8bb6a35 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/ListPage.xaml.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/ListPage.xaml.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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.ObjectModel; using System.Collections.Specialized; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/MainListItem.cs b/src/modules/cmdpal/src/WindowsCommandPalette/MainListItem.cs index f9fa490d24..9c1769d602 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/MainListItem.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/MainListItem.cs @@ -1,11 +1,10 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// The Microsoft Corporation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using Microsoft.Windows.CommandPalette.Extensions.Helpers; using Microsoft.Windows.CommandPalette.Extensions; using Windows.Foundation; -//using Quicklinks; -//using Scripts; namespace DeveloperCommandPalette; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/MainListPage.cs b/src/modules/cmdpal/src/WindowsCommandPalette/MainListPage.cs index 3bbd468bb0..5722604eb2 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/MainListPage.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/MainListPage.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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.ObjectModel; using System.Collections.Specialized; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/MainPage.xaml.cs b/src/modules/cmdpal/src/WindowsCommandPalette/MainPage.xaml.cs index 0e0320cc6f..de9e8eafa6 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/MainPage.xaml.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/MainPage.xaml.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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.ObjectModel; using System.Runtime.InteropServices; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/MainWindow.xaml.cs b/src/modules/cmdpal/src/WindowsCommandPalette/MainWindow.xaml.cs index b17500af47..03f434c5de 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/MainWindow.xaml.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/MainWindow.xaml.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// The Microsoft Corporation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Media; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/MarkdownPage.xaml.cs b/src/modules/cmdpal/src/WindowsCommandPalette/MarkdownPage.xaml.cs index 0ceac8978f..2c1a110cb8 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/MarkdownPage.xaml.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/MarkdownPage.xaml.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// 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.ComponentModel; using Microsoft.UI.Input; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/PageViewModel.cs b/src/modules/cmdpal/src/WindowsCommandPalette/PageViewModel.cs index 390af1ec64..eea04b5f11 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/PageViewModel.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/PageViewModel.cs @@ -1,6 +1,6 @@ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// The Microsoft Corporation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using Microsoft.Windows.CommandPalette.Extensions; using Windows.Foundation; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Program.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Program.cs index 6bfeebf51a..17181db77f 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Program.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Program.cs @@ -1,4 +1,8 @@ -using System.Threading; +// Copyright (c) Microsoft Corporation +// 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.Threading; using Microsoft.UI.Dispatching; using Microsoft.Windows.AppLifecycle; using Windows.ApplicationModel.Activation; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/SettingsActionProvider.cs b/src/modules/cmdpal/src/WindowsCommandPalette/SettingsActionProvider.cs index d1993b696b..cafec349f2 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/SettingsActionProvider.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/SettingsActionProvider.cs @@ -1,5 +1,6 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +// Copyright (c) Microsoft Corporation +// The Microsoft Corporation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using Microsoft.Windows.CommandPalette.Extensions; using Microsoft.Windows.CommandPalette.Extensions.Helpers;