1 instantiation of NamedPipeServer
dotnet (1)
Commands\Test\MTP\TestApplication.cs (1)
223
var pipeConnection = new
NamedPipeServer
(_pipeName, OnRequest, NamedPipeServerStream.MaxAllowedServerInstances, token, skipUnknownMessages: true);
8 references to NamedPipeServer
dotnet (8)
Commands\Test\MTP\IPC\NamedPipeServer.cs (2)
16
private readonly Func<
NamedPipeServer
, IRequest, Task<IResponse>> _callback;
29
Func<
NamedPipeServer
, IRequest, Task<IResponse>> callback,
Commands\Test\MTP\TestApplication.cs (6)
31
private readonly string _pipeName =
NamedPipeServer
.GetPipeName(Guid.NewGuid().ToString("N"));
33
private readonly List<
NamedPipeServer
> _testAppPipeConnections = [];
34
private readonly Dictionary<
NamedPipeServer
, HandshakeMessage> _handshakes = new();
223
var
pipeConnection = new NamedPipeServer(_pipeName, OnRequest, NamedPipeServerStream.MaxAllowedServerInstances, token, skipUnknownMessages: true);
243
private Task<IResponse> OnRequest(
NamedPipeServer
server, IRequest request)
403
foreach (
var
namedPipeServer in _testAppPipeConnections)