mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
added stylecop (#1933)
* added stylecop * removed xml documentation * used common stylecop file
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
using System;
|
||||
using System.Windows;
|
||||
using Microsoft.PowerToys.Settings.UI.Views;
|
||||
using System.Threading;
|
||||
using Microsoft.Toolkit.Wpf.UI.XamlHost;
|
||||
|
||||
namespace Microsoft.PowerToys.Settings.UI.Runner
|
||||
{
|
||||
@@ -26,16 +26,10 @@ namespace Microsoft.PowerToys.Settings.UI.Runner
|
||||
if (shellPage != null)
|
||||
{
|
||||
// send IPC Message
|
||||
shellPage.SetDefaultSndMessageCallback(delegate (string msg)
|
||||
shellPage.SetDefaultSndMessageCallback(msg =>
|
||||
{
|
||||
Program.ipcmanager.SendMessage(msg);
|
||||
Program.GetTwoWayIPCManager().SendMessage(msg);
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (shellPage != null)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,6 +46,10 @@
|
||||
</COMReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<AdditionalFiles Include="..\..\codeAnalysis\StyleCop.json" Link="StyleCop.json" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="..\settingsui\Assets\logo.png">
|
||||
<Pack>True</Pack>
|
||||
|
||||
Reference in New Issue
Block a user