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