Change NameSpace Name

This commit is contained in:
Kevin Zhang 2021-07-20 10:59:05 +08:00
parent dd31f1a34a
commit 228bbe2c37
10 changed files with 26 additions and 23 deletions

View file

@ -4,7 +4,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings namespace Flow.Plugin.WindowsSettings.Classes
{ {
/// <summary> /// <summary>
/// A windows setting /// A windows setting

View file

@ -3,8 +3,8 @@
<TargetFramework>net5.0-windows</TargetFramework> <TargetFramework>net5.0-windows</TargetFramework>
<ProjectGuid>{5043CECE-E6A7-4867-9CBE-02D27D83747A}</ProjectGuid> <ProjectGuid>{5043CECE-E6A7-4867-9CBE-02D27D83747A}</ProjectGuid>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Microsoft.PowerToys.Run.Plugin.WindowsSettings</RootNamespace> <RootNamespace>Flow.Plugin.WindowsSettings</RootNamespace>
<AssemblyName>Microsoft.PowerToys.Run.Plugin.WindowsSettings</AssemblyName> <AssemblyName>Flow.Plugin.WindowsSettings</AssemblyName>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<Platforms>x64</Platforms> <Platforms>x64</Platforms>

View file

@ -6,9 +6,10 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Windows; using System.Windows;
using Flow.Launcher.Plugin; using Flow.Launcher.Plugin;
using Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties; using Flow.Plugin.WindowsSettings.Classes;
using Flow.Plugin.WindowsSettings.Properties;
namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Helper namespace Flow.Plugin.WindowsSettings.Helper
{ {
/// <summary> /// <summary>
/// Helper class to easier work with context menu entries /// Helper class to easier work with context menu entries

View file

@ -9,8 +9,9 @@ using System.Linq;
using System.Reflection; using System.Reflection;
using System.Text.Json; using System.Text.Json;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
using Flow.Plugin.WindowsSettings.Classes;
namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Helper namespace Flow.Plugin.WindowsSettings.Helper
{ {
/// <summary> /// <summary>
/// Helper class to easier work with the JSON file that contains all Windows settings /// Helper class to easier work with the JSON file that contains all Windows settings

View file

@ -8,10 +8,10 @@ using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using Flow.Launcher.Plugin; using Flow.Launcher.Plugin;
using Flow.Launcher.Plugin.SharedModels; using Flow.Plugin.WindowsSettings.Classes;
using Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties; using Flow.Plugin.WindowsSettings.Properties;
namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Helper namespace Flow.Plugin.WindowsSettings.Helper
{ {
/// <summary> /// <summary>
/// Helper class to easier work with results /// Helper class to easier work with results

View file

@ -5,9 +5,10 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq; using System.Linq;
using Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties; using Flow.Plugin.WindowsSettings.Classes;
using Flow.Plugin.WindowsSettings.Properties;
namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Helper namespace Flow.Plugin.WindowsSettings.Helper
{ {
/// <summary> /// <summary>
/// Helper class to easier work with translations. /// Helper class to easier work with translations.

View file

@ -5,8 +5,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Flow.Plugin.WindowsSettings.Classes;
namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Helper namespace Flow.Plugin.WindowsSettings.Helper
{ {
/// <summary> /// <summary>
/// Helper class to easier work with the version of the Windows OS /// Helper class to easier work with the version of the Windows OS
@ -68,7 +69,7 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Helper
try try
{ {
registryValueData = Win32.Registry.GetValue(registryKey, valueName, uint.MinValue); registryValueData = Microsoft.Win32.Registry.GetValue(registryKey, valueName, uint.MinValue);
} }
catch (Exception exception) catch (Exception exception)
{ {

2
Log.cs
View file

@ -2,7 +2,7 @@
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using Flow.Launcher.Plugin; using Flow.Launcher.Plugin;
namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings namespace Flow.Plugin.WindowsSettings
{ {
public static class Log public static class Log
{ {

View file

@ -4,13 +4,13 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Reflection; using System.Reflection;
using Flow.Launcher.Plugin; using Flow.Launcher.Plugin;
using Microsoft.PowerToys.Run.Plugin.WindowsSettings.Helper; using Flow.Plugin.WindowsSettings.Classes;
using Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties; using Flow.Plugin.WindowsSettings.Helper;
using Flow.Plugin.WindowsSettings.Properties;
namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings namespace Flow.Plugin.WindowsSettings
{ {
/// <summary> /// <summary>
/// Main class of this plugin that implement all used interfaces. /// Main class of this plugin that implement all used interfaces.

View file

@ -8,10 +8,9 @@
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties { namespace Flow.Plugin.WindowsSettings.Properties {
using System;
/// <summary> /// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc. /// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary> /// </summary>
@ -39,7 +38,7 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties {
internal static global::System.Resources.ResourceManager ResourceManager { internal static global::System.Resources.ResourceManager ResourceManager {
get { get {
if (object.ReferenceEquals(resourceMan, null)) { if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties.Resources", typeof(Resources).Assembly); global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Flow.Plugin.WindowsSettings.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp; resourceMan = temp;
} }
return resourceMan; return resourceMan;