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
+1 -1
View File
@@ -9,7 +9,7 @@ Console.WriteLine($"Server started. Pipe: {pipeName}");
// Exceptions in handler methods are caught by PipeMethodCalls and sent to the client
// (client receives PipeInvokeFailedException with the server exception details).
var server = new PipeServer<IServerMethods>(
var server = new PipeServer<IPipeServerMethods>(
new JsonFieldsPipeSerializer(),
pipeName,
() => new ServerMethods());
+1 -1
View File
@@ -4,7 +4,7 @@ using System.Numerics;
namespace Server;
public class ServerMethods : IServerMethods
public class ServerMethods : IPipeServerMethods
{
public int Add(int a, int b) => a + b;