Renamed IServerMethods to `IPipeServerMethods
This commit is contained in:
@@ -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=";
|
||||
}
|
||||
Reference in New Issue
Block a user