public void TapeIsInFiles(string fullPath)
 {
     var factory = new FileTapeStorageFactory(fullPath);
     TapeIs(factory);
 }
Example #2
0
 /// <summary>
 /// Creates and initializes the tape storage in the provided folder.
 /// </summary>
 /// <param name="folderPath">The folder path.</param>
 /// <returns></returns>
 public static FileTapeStorageFactory CreateTape(string folderPath)
 {
     var factory = new FileTapeStorageFactory(folderPath);
     factory.InitializeForWriting();
     return factory;
 }