示例#1
0
 public NamedPipeClient(string serverName, string pipeName, IStreamFormatter formatter)
 {
     this.ServerName = serverName;
     this.PipeName   = pipeName;
     this.Formatter  = formatter;
 }
示例#2
0
 public NamedPipeServer(string pipeName, Func <R, S> func, IStreamFormatter formatter)
 {
     this.PipeName  = pipeName;
     this.Func      = func;
     this.Formatter = formatter;
 }