Ejemplo n.º 1
0
 /// <summary>
 /// Initializes new instance of <see cref="StorageFileReader"/> class.
 /// </summary>
 /// <param name="streamFactory"><see cref="IStreamFactory"/> object used to create file streams</param>
 /// <exception cref="ArgumentNullException">factory is null</exception>
 public IndexFileBlockProvider(IStreamFactory streamFactory)
 {
     streamFactory.ThrowIfNull(nameof(streamFactory));
     fileStream     = streamFactory.CreateIndexStream();
     fileStreamLock = new object();
 }