Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06763d6c15 | ||
|
|
d0ef6d2039 |
@@ -0,0 +1,5 @@
|
||||
################################################################################
|
||||
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
|
||||
################################################################################
|
||||
|
||||
/.vs
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using System.Diagnostics;
|
||||
using PipeMethodCalls;
|
||||
using Shared;
|
||||
using ClientServerShared;
|
||||
|
||||
Console.WriteLine("Client started.");
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Numerics;
|
||||
using Shared;
|
||||
using ClientServerShared;
|
||||
|
||||
namespace Server;
|
||||
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using ClientServerShared;
|
||||
using PipeMethodCalls;
|
||||
using Server;
|
||||
using Shared;
|
||||
|
||||
string pipeName = args.FirstOrDefault(a => a.StartsWith(PipeConstants.PipeNameArgPrefix))?
|
||||
string pipeName = args.FirstOrDefault(static a => a.StartsWith(PipeConstants.PipeNameArgPrefix, StringComparison.Ordinal))?
|
||||
[PipeConstants.PipeNameArgPrefix.Length..] ?? "PipeDemo";
|
||||
|
||||
Console.WriteLine($"Server started. Pipe: {pipeName}");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Numerics;
|
||||
|
||||
namespace Shared;
|
||||
namespace ClientServerShared;
|
||||
|
||||
public interface ICalculator
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Text.Json;
|
||||
using PipeMethodCalls;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace Shared;
|
||||
namespace ClientServerShared;
|
||||
|
||||
/// <summary>
|
||||
/// JSON serializer that also includes public fields (required for System.Numerics.Vector3).
|
||||
|
||||
Reference in New Issue
Block a user