Ejemplo n.º 1
0
 public TwoWayNamedPipeConnection(string name, INamedPipesReader <T> reader, INamedPipesWriter <T> writer)
 {
     this.Name   = name;
     this.reader = reader;
     this.writer = writer;
 }
Ejemplo n.º 2
0
 public ClientNamedPipeConnection(string connectionName, INamedPipesWriter <T> writer)
 {
     this.writer         = writer;
     this.connectionName = connectionName;
     this.connection     = new NamedPipeClientStream(connectionName);
 }