コード例 #1
0
ファイル: SocketGuard.cs プロジェクト: andre-laskawy/Assassin
 /// <summary>
 /// Initializes a new instance of the <see cref="SocketGuard" /> class.
 /// </summary>
 /// <param name="stream">The stream.</param>
 public SocketGuard(SocketStream stream)
 {
     this.stream = stream;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Socket" /> class.
 /// </summary>
 /// <param name="stream">The stream.</param>
 public Socket(SocketStream stream)
 {
     this.SocketStream = stream;
 }