Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServerTransport{T}"/> class.
 /// </summary>
 /// <param name="server"> The server. </param>
 public ServerTransport(NamedPipeServer server)
 {
     this.server = server;
     server.Router.AddMessageRouter <T>(this.HandleMessageReceived);
 }