예제 #1
0
 private async Task HandleConnection(NamedPipeServerStream pipeStream)
 {
     var ctx = new ServerConnectionContext(pipeStream, _methodHandlers);
     await Task.Run(new PipeReader(pipeStream, ctx, ctx.Dispose).ReadLoop);
 }
 internal NamedPipeCallContext(ServerConnectionContext ctx)
 {
     _ctx = ctx;
 }