Reads a log of Histograms from the provided Stream.
Inheritance: IDisposable, IHistogramLogV1Reader
コード例 #1
0
 /// <summary>
 /// Reads each histogram out from the underlying stream.
 /// </summary>
 /// <param name="inputStream">The <see cref="Stream"/> to read from.</param>
 /// <returns>Return a lazily evaluated sequence of histograms.</returns>
 public static IEnumerable <HistogramBase> Read(Stream inputStream)
 {
     using (var reader = new HistogramLogReader(inputStream))
     {
         return(reader.ReadHistograms());
     }
 }
コード例 #2
0
 /// <summary>
 /// Reads each histogram out from the underlying stream.
 /// </summary>
 /// <param name="inputStream">The <see cref="Stream"/> to read from.</param>
 /// <returns>Return a lazily evaluated sequence of histograms.</returns>
 public static IEnumerable<HistogramBase> Read(Stream inputStream)
 {
     using (var reader = new HistogramLogReader(inputStream))
     {
         return reader.ReadHistograms();
     }
 }