Align client and solution with renamed projects
Update project references and solution entries to use `PipeClient` and `PipeServer`, and launch the renamed `PipeServer.exe` or `PipeServer.dll`.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using PipeMethodCalls;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace PipeShared;
|
||||
|
||||
/// <summary>
|
||||
/// JSON serializer that also includes public fields (required for System.Numerics.Vector3).
|
||||
/// </summary>
|
||||
public class JsonFieldsPipeSerializer : IPipeSerializer
|
||||
{
|
||||
private static readonly JsonSerializerOptions Options = new() { IncludeFields = true };
|
||||
|
||||
public object Deserialize(byte[] data, Type type) => JsonSerializer.Deserialize(data, type, Options)!;
|
||||
|
||||
public byte[] Serialize(object o) => JsonSerializer.SerializeToUtf8Bytes(o, Options);
|
||||
}
|
||||
Reference in New Issue
Block a user