Renamed IServerMethods to `IPipeServerMethods

This commit is contained in:
Matthias Heil
2026-11-10 11:08:33 +01:00
parent 3fe7fa42e5
commit e1acf71c5d
4 changed files with 5 additions and 5 deletions
+19
View File
@@ -0,0 +1,19 @@
using System.Numerics;
namespace PipeShared;
public interface IPipeServerMethods
{
int Add(int a, int b);
Vector3 AddVector(Vector3 a, Vector3 b);
double Divide(double a, double b);
Task<string> EchoAsync(string text);
Task<int> SlowOperationAsync(int delayMs, Guid operationId);
void CancelOperation(Guid operationId);
void Crash(int exitCode);
}
public static class PipeConstants
{
public const string PipeNameArgPrefix = "--pipe=";
}