コード例 #1
0
 public ClientContext(
     TcpClient client, 
     NetworkStream stream, 
     NetworkStreamWriter writer, 
     NetworkStreamReader reader)
 {
     Id = Guid.NewGuid();
     Client = client;
     Stream = stream;
     Writer = writer;
     Reader = reader;
 }
コード例 #2
0
 public ClientContext(
     TcpClient client,
     NetworkStream stream,
     NetworkStreamWriter writer,
     NetworkStreamReader reader)
 {
     Id     = Guid.NewGuid();
     Client = client;
     Stream = stream;
     Writer = writer;
     Reader = reader;
 }