コード例 #1
0
ファイル: DtzIoHelper.cs プロジェクト: njannink/sonarlint-vs
 /// <summary>
 /// Initializes a new instance of the <see cref="DtzIoHelper" /> class.
 /// </summary>
 private DtzIoHelper(IList<string> stringPool)
 {
     ioStream = new IoStream();
     Reader = new DateTimeZoneReader(ioStream.GetReadStream(), stringPool);
     Writer = new DateTimeZoneWriter(ioStream.GetWriteStream(), stringPool);
     this.stringPool = stringPool;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DtzIoHelper" /> class.
 /// </summary>
 private DtzIoHelper(IList <string> stringPool)
 {
     ioStream        = new IoStream();
     Reader          = new DateTimeZoneReader(ioStream.GetReadStream(), stringPool);
     Writer          = new DateTimeZoneWriter(ioStream.GetWriteStream(), stringPool);
     this.stringPool = stringPool;
 }
コード例 #3
0
ファイル: IoStream.cs プロジェクト: 0xced/nodatime
 /// <summary>
 ///   Initializes a new instance of the <see cref="WriteStreamImpl" /> class.
 /// </summary>
 /// <param name="stream">The <see cref="IoStream" /> to read from.</param>
 public WriteStreamImpl(IoStream stream)
 {
     ioStream = stream;
 }
コード例 #4
0
ファイル: IoStream.cs プロジェクト: 0xced/nodatime
 /// <summary>
 ///   Initializes a new instance of the <see cref="ReadStreamImpl" /> class.
 /// </summary>
 /// <param name="stream">The <see cref="ioStream" /> to read from.</param>
 public ReadStreamImpl(IoStream stream)
 {
     ioStream = stream;
 }
コード例 #5
0
ファイル: IoStream.cs プロジェクト: nicklbailey/nodatime
 /// <summary>
 ///   Initializes a new instance of the <see cref="WriteStreamImpl" /> class.
 /// </summary>
 /// <param name="stream">The <see cref="IoStream" /> to read from.</param>
 public WriteStreamImpl(IoStream stream)
 {
     ioStream = stream;
 }
コード例 #6
0
ファイル: IoStream.cs プロジェクト: nicklbailey/nodatime
 /// <summary>
 ///   Initializes a new instance of the <see cref="ReadStreamImpl" /> class.
 /// </summary>
 /// <param name="stream">The <see cref="ioStream" /> to read from.</param>
 public ReadStreamImpl(IoStream stream)
 {
     ioStream = stream;
 }