Files
PipeMethodCallsDemo/Shared/ICalculator.cs
T
Matthias Heil 06763d6c15 Rename shared namespace and preserve pipe handling
Rename `Shared` to `ClientServerShared` across client, server, calculator, interface, and serializer code. Update pipe-name parsing to use ordinal comparison while retaining the `PipeDemo` default. Preserve custom JSON serialization with public field support for `Vector3`.
2026-11-10 09:31:18 +01:00

18 lines
364 B
C#

using System.Numerics;
namespace ClientServerShared;
public interface ICalculator
{
int Add(int a, int b);
Vector3 AddVector(Vector3 a, Vector3 b);
double Divide(double a, double b);
Task<string> EchoAsync(string text);
void Crash(int exitCode);
}
public static class PipeConstants
{
public const string PipeNameArgPrefix = "--pipe=";
}