コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BsonWriter"/> class.
 /// </summary>
 /// <param name="writer">The writer.</param>
 public BsonWriter(BinaryWriter writer)
 {
     ValidationUtils.ArgumentNotNull(writer, "writer");
     _writer = new BsonBinaryWriter(writer);
 }
コード例 #2
0
ファイル: BsonWriter.cs プロジェクト: sat1582/CODEFramework
 /// <summary>
 /// Initializes a new instance of the <see cref="BsonWriter"/> class.
 /// </summary>
 /// <param name="writer">The writer.</param>
 public BsonWriter(BinaryWriter writer)
 {
     ValidationUtils.ArgumentNotNull(writer, "writer");
     _writer = new BsonBinaryWriter(writer);
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BsonWriter"/> class.
 /// </summary>
 /// <param name="stream">The stream.</param>
 public BsonWriter(Stream stream)
 {
     ValidationUtils.ArgumentNotNull(stream, "stream");
     _writer = new BsonBinaryWriter(new BinaryWriter(stream));
 }
コード例 #4
0
ファイル: BsonWriter.cs プロジェクト: sat1582/CODEFramework
 /// <summary>
 /// Initializes a new instance of the <see cref="BsonWriter"/> class.
 /// </summary>
 /// <param name="stream">The stream.</param>
 public BsonWriter(Stream stream)
 {
     ValidationUtils.ArgumentNotNull(stream, "stream");
     _writer = new BsonBinaryWriter(new BinaryWriter(stream));
 }