From da09538f47faae3ebd85bd77797b6543ce68c841 Mon Sep 17 00:00:00 2001 From: Clint Rutkas Date: Thu, 29 Aug 2024 14:13:58 -0700 Subject: [PATCH] headers --- .../HackerNewsExtension/HackerNewsActionsProvider.cs | 5 +++-- .../cmdpal/extensions/HackerNewsExtension/Program.cs | 5 +++-- .../extensions/HackerNewsExtension/SampleExtension.cs | 5 +++-- .../MediaControlsExtension/MediaActionsProvider.cs | 5 +++-- .../cmdpal/extensions/MediaControlsExtension/Program.cs | 5 +++-- .../extensions/MediaControlsExtension/SampleExtension.cs | 5 +++-- .../ProcessMonitorExtension/ProcessMonitorActionProvider.cs | 6 +++++- .../cmdpal/extensions/ProcessMonitorExtension/Program.cs | 5 +++-- .../extensions/ProcessMonitorExtension/SampleExtension.cs | 5 +++-- src/modules/cmdpal/extensions/SpongebotExtension/Program.cs | 5 +++-- .../cmdpal/extensions/SpongebotExtension/SampleExtension.cs | 5 +++-- .../SpongebotExtension/SpongebotCommandsProvider.cs | 5 +++-- src/modules/cmdpal/src/Plugins/AllApps/AllAppsPage.cs | 5 +++-- src/modules/cmdpal/src/Plugins/AllApps/AppAction.cs | 5 +++-- src/modules/cmdpal/src/Plugins/AllApps/AppCache.cs | 5 +++-- src/modules/cmdpal/src/Plugins/AllApps/AppItem.cs | 5 +++-- src/modules/cmdpal/src/Plugins/AllApps/AppListItem.cs | 5 +++-- src/modules/cmdpal/src/Plugins/AllApps/OpenPathAction.cs | 5 +++-- .../cmdpal/src/Plugins/AllApps/Programs/ProgramSource.cs | 4 +++- .../src/Plugins/Calculator/CalculatorActionProvider.cs | 5 +++-- .../cmdpal/src/WindowsCommandPalette/ActionViewModel.cs | 5 +++-- .../src/WindowsCommandPalette/ContextItemViewModel.cs | 5 +++-- .../cmdpal/src/WindowsCommandPalette/DetailsControl.xaml.cs | 5 +++-- .../src/WindowsCommandPalette/Models/ExtensionWrapper.cs | 5 +++-- src/modules/cmdpal/src/WindowsCommandPalette/QuitAction.cs | 5 +++-- .../src/WindowsCommandPalette/Services/ExtensionService.cs | 5 +++-- .../cmdpal/src/WindowsCommandPalette/TagViewModel.cs | 5 +++-- 27 files changed, 83 insertions(+), 52 deletions(-) diff --git a/src/modules/cmdpal/extensions/HackerNewsExtension/HackerNewsActionsProvider.cs b/src/modules/cmdpal/extensions/HackerNewsExtension/HackerNewsActionsProvider.cs index 88a8793710..73256549d7 100644 --- a/src/modules/cmdpal/extensions/HackerNewsExtension/HackerNewsActionsProvider.cs +++ b/src/modules/cmdpal/extensions/HackerNewsExtension/HackerNewsActionsProvider.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/extensions/HackerNewsExtension/Program.cs b/src/modules/cmdpal/extensions/HackerNewsExtension/Program.cs index 0ade1406cc..751603b542 100644 --- a/src/modules/cmdpal/extensions/HackerNewsExtension/Program.cs +++ b/src/modules/cmdpal/extensions/HackerNewsExtension/Program.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.Threading; diff --git a/src/modules/cmdpal/extensions/HackerNewsExtension/SampleExtension.cs b/src/modules/cmdpal/extensions/HackerNewsExtension/SampleExtension.cs index 28d485c46c..0013e76bf3 100644 --- a/src/modules/cmdpal/extensions/HackerNewsExtension/SampleExtension.cs +++ b/src/modules/cmdpal/extensions/HackerNewsExtension/SampleExtension.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.Runtime.InteropServices; diff --git a/src/modules/cmdpal/extensions/MediaControlsExtension/MediaActionsProvider.cs b/src/modules/cmdpal/extensions/MediaControlsExtension/MediaActionsProvider.cs index 4e2ace1d35..fb3689a863 100644 --- a/src/modules/cmdpal/extensions/MediaControlsExtension/MediaActionsProvider.cs +++ b/src/modules/cmdpal/extensions/MediaControlsExtension/MediaActionsProvider.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.Threading.Tasks; diff --git a/src/modules/cmdpal/extensions/MediaControlsExtension/Program.cs b/src/modules/cmdpal/extensions/MediaControlsExtension/Program.cs index 025a56690d..e784249792 100644 --- a/src/modules/cmdpal/extensions/MediaControlsExtension/Program.cs +++ b/src/modules/cmdpal/extensions/MediaControlsExtension/Program.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.Threading; diff --git a/src/modules/cmdpal/extensions/MediaControlsExtension/SampleExtension.cs b/src/modules/cmdpal/extensions/MediaControlsExtension/SampleExtension.cs index 55b08e431b..6581328efc 100644 --- a/src/modules/cmdpal/extensions/MediaControlsExtension/SampleExtension.cs +++ b/src/modules/cmdpal/extensions/MediaControlsExtension/SampleExtension.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.Runtime.InteropServices; diff --git a/src/modules/cmdpal/extensions/ProcessMonitorExtension/ProcessMonitorActionProvider.cs b/src/modules/cmdpal/extensions/ProcessMonitorExtension/ProcessMonitorActionProvider.cs index 46bbe7e996..3d75476ae6 100644 --- a/src/modules/cmdpal/extensions/ProcessMonitorExtension/ProcessMonitorActionProvider.cs +++ b/src/modules/cmdpal/extensions/ProcessMonitorExtension/ProcessMonitorActionProvider.cs @@ -1,4 +1,8 @@ -using System; +// 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.Diagnostics; using System.Globalization; diff --git a/src/modules/cmdpal/extensions/ProcessMonitorExtension/Program.cs b/src/modules/cmdpal/extensions/ProcessMonitorExtension/Program.cs index d5b6ae363f..188f73ac67 100644 --- a/src/modules/cmdpal/extensions/ProcessMonitorExtension/Program.cs +++ b/src/modules/cmdpal/extensions/ProcessMonitorExtension/Program.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.Threading; diff --git a/src/modules/cmdpal/extensions/ProcessMonitorExtension/SampleExtension.cs b/src/modules/cmdpal/extensions/ProcessMonitorExtension/SampleExtension.cs index 77dc407402..a0eafeb462 100644 --- a/src/modules/cmdpal/extensions/ProcessMonitorExtension/SampleExtension.cs +++ b/src/modules/cmdpal/extensions/ProcessMonitorExtension/SampleExtension.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.Runtime.InteropServices; diff --git a/src/modules/cmdpal/extensions/SpongebotExtension/Program.cs b/src/modules/cmdpal/extensions/SpongebotExtension/Program.cs index 2060a66073..4f27ebde61 100644 --- a/src/modules/cmdpal/extensions/SpongebotExtension/Program.cs +++ b/src/modules/cmdpal/extensions/SpongebotExtension/Program.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.Threading; diff --git a/src/modules/cmdpal/extensions/SpongebotExtension/SampleExtension.cs b/src/modules/cmdpal/extensions/SpongebotExtension/SampleExtension.cs index 92c81b16f4..9a618f624e 100644 --- a/src/modules/cmdpal/extensions/SpongebotExtension/SampleExtension.cs +++ b/src/modules/cmdpal/extensions/SpongebotExtension/SampleExtension.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.Runtime.InteropServices; diff --git a/src/modules/cmdpal/extensions/SpongebotExtension/SpongebotCommandsProvider.cs b/src/modules/cmdpal/extensions/SpongebotExtension/SpongebotCommandsProvider.cs index 5797aa7a96..a9196b66f9 100644 --- a/src/modules/cmdpal/extensions/SpongebotExtension/SpongebotCommandsProvider.cs +++ b/src/modules/cmdpal/extensions/SpongebotExtension/SpongebotCommandsProvider.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/Plugins/AllApps/AllAppsPage.cs b/src/modules/cmdpal/src/Plugins/AllApps/AllAppsPage.cs index 3c3892e643..a77c13dfac 100644 --- a/src/modules/cmdpal/src/Plugins/AllApps/AllAppsPage.cs +++ b/src/modules/cmdpal/src/Plugins/AllApps/AllAppsPage.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.Generic; using System.Linq; diff --git a/src/modules/cmdpal/src/Plugins/AllApps/AppAction.cs b/src/modules/cmdpal/src/Plugins/AllApps/AppAction.cs index 5f479e7fd9..cefd608bda 100644 --- a/src/modules/cmdpal/src/Plugins/AllApps/AppAction.cs +++ b/src/modules/cmdpal/src/Plugins/AllApps/AppAction.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; using AllApps.Programs; diff --git a/src/modules/cmdpal/src/Plugins/AllApps/AppCache.cs b/src/modules/cmdpal/src/Plugins/AllApps/AppCache.cs index 370b291e4f..1bfd2d3d03 100644 --- a/src/modules/cmdpal/src/Plugins/AllApps/AppCache.cs +++ b/src/modules/cmdpal/src/Plugins/AllApps/AppCache.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/Plugins/AllApps/AppItem.cs b/src/modules/cmdpal/src/Plugins/AllApps/AppItem.cs index 4d17ea2c7d..8f6efb057a 100644 --- a/src/modules/cmdpal/src/Plugins/AllApps/AppItem.cs +++ b/src/modules/cmdpal/src/Plugins/AllApps/AppItem.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 AllApps; diff --git a/src/modules/cmdpal/src/Plugins/AllApps/AppListItem.cs b/src/modules/cmdpal/src/Plugins/AllApps/AppListItem.cs index 2d2903437a..a8865f8241 100644 --- a/src/modules/cmdpal/src/Plugins/AllApps/AppListItem.cs +++ b/src/modules/cmdpal/src/Plugins/AllApps/AppListItem.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.Helpers; diff --git a/src/modules/cmdpal/src/Plugins/AllApps/OpenPathAction.cs b/src/modules/cmdpal/src/Plugins/AllApps/OpenPathAction.cs index 43e09c76bf..d42006eeea 100644 --- a/src/modules/cmdpal/src/Plugins/AllApps/OpenPathAction.cs +++ b/src/modules/cmdpal/src/Plugins/AllApps/OpenPathAction.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; using System.Diagnostics; diff --git a/src/modules/cmdpal/src/Plugins/AllApps/Programs/ProgramSource.cs b/src/modules/cmdpal/src/Plugins/AllApps/Programs/ProgramSource.cs index c9d0a63401..16e7794ed7 100644 --- a/src/modules/cmdpal/src/Plugins/AllApps/Programs/ProgramSource.cs +++ b/src/modules/cmdpal/src/Plugins/AllApps/Programs/ProgramSource.cs @@ -1,4 +1,6 @@ -//using System.IO.Abstractions; +// 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 AllApps.Programs; diff --git a/src/modules/cmdpal/src/Plugins/Calculator/CalculatorActionProvider.cs b/src/modules/cmdpal/src/Plugins/Calculator/CalculatorActionProvider.cs index d24a33b222..d68bf0f4d4 100644 --- a/src/modules/cmdpal/src/Plugins/Calculator/CalculatorActionProvider.cs +++ b/src/modules/cmdpal/src/Plugins/Calculator/CalculatorActionProvider.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; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/ActionViewModel.cs b/src/modules/cmdpal/src/WindowsCommandPalette/ActionViewModel.cs index d2e7f81823..5b686708b5 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/ActionViewModel.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/ActionViewModel.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/ContextItemViewModel.cs b/src/modules/cmdpal/src/WindowsCommandPalette/ContextItemViewModel.cs index 379b5ba439..22a4c8b993 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/ContextItemViewModel.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/ContextItemViewModel.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/DetailsControl.xaml.cs b/src/modules/cmdpal/src/WindowsCommandPalette/DetailsControl.xaml.cs index 30cbcd6655..dde27cfaac 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/DetailsControl.xaml.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/DetailsControl.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; using System.Collections.Generic; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Models/ExtensionWrapper.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Models/ExtensionWrapper.cs index 08b49b85d2..e98ba3242b 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Models/ExtensionWrapper.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Models/ExtensionWrapper.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.Runtime.InteropServices; using Microsoft.CmdPal.Common.Services; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/QuitAction.cs b/src/modules/cmdpal/src/WindowsCommandPalette/QuitAction.cs index 8b3f3d667c..502a21fc08 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/QuitAction.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/QuitAction.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; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/Services/ExtensionService.cs b/src/modules/cmdpal/src/WindowsCommandPalette/Services/ExtensionService.cs index 90b89305e7..1773831509 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/Services/ExtensionService.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/Services/ExtensionService.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 CmdPal.Models; using Microsoft.CmdPal.Common.Contracts; diff --git a/src/modules/cmdpal/src/WindowsCommandPalette/TagViewModel.cs b/src/modules/cmdpal/src/WindowsCommandPalette/TagViewModel.cs index fa51e84c02..57dbc8bf76 100644 --- a/src/modules/cmdpal/src/WindowsCommandPalette/TagViewModel.cs +++ b/src/modules/cmdpal/src/WindowsCommandPalette/TagViewModel.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;