Skip to content

Commit 9705009

Browse files
authored
Merge pull request #163 from dotnet-campus/t/bot/fix-codeformatting
[Bot] Automated PR to fix formatting errors
2 parents 7e55bef + 539dc01 commit 9705009

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/dotnetCampus.Ipc/Pipes/IpcClientService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public NamedPipeClientStreamResult(Exception exception)
107107
/// <returns></returns>
108108
public async Task Start(bool shouldRegisterToPeer = true)
109109
{
110-
var result = await StartInternalAsync(isReConnect: false, shouldRegisterToPeer,onlyConnectExistsPeer: false/*不是只连接存在的对方,如果对方还不存在,则进行等待*/);
110+
var result = await StartInternalAsync(isReConnect: false, shouldRegisterToPeer, onlyConnectExistsPeer: false/*不是只连接存在的对方,如果对方还不存在,则进行等待*/);
111111

112112
if (!result)
113113
{

src/dotnetCampus.Ipc/Pipes/IpcProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ public async Task<ConnectExistsPeerResult> TryConnectToExistingPeerAsync(string
325325
{
326326
if (PeerManager.TryGetValue(peerName, out var peerProxy))
327327
{
328-
328+
329329
}
330330
else
331331
{

src/dotnetCampus.Ipc/Utils/IO/PipeHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public static bool IsPipeExists(string pipeName)
2323
// 对于 .NET Framework 来说,那就一定是 Windows 系统了
2424
isWindows = true;
2525
#elif NETCOREAPP3_1_OR_GREATER
26-
// 对于 .NET Core 3.1 和 .NET 5 来说,Windows 和 Linux 都可以
27-
isWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
26+
// 对于 .NET Core 3.1 和 .NET 5 来说,Windows 和 Linux 都可以
27+
isWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
2828
#endif
2929
if (isWindows)
3030
{

0 commit comments

Comments
 (0)