コード例 #1
0
 internal static IEnumerable<RarVolume> GetParts(IEnumerable<Stream> streams, string password, Options options)
 {
     foreach (Stream iteratorVariable0 in streams)
     {
         if (!(iteratorVariable0.CanRead && iteratorVariable0.CanSeek))
         {
             throw new ArgumentException("Stream is not readable and seekable");
         }
         StreamRarArchiveVolume iteratorVariable1 = new StreamRarArchiveVolume(iteratorVariable0, password, options);
         yield return iteratorVariable1;
     }
 }
コード例 #2
0
 internal static IEnumerable<RarVolume> GetParts(IEnumerable<Stream> streams, Options options)
 {
     foreach (Stream s in streams)
     {
         if (!s.CanRead || !s.CanSeek)
         {
             throw new ArgumentException("Stream is not readable and seekable");
         }
         StreamRarArchiveVolume part = new StreamRarArchiveVolume(s, options);
         yield return part;
     }
 }
コード例 #3
0
 internal static IEnumerable <RarVolume> GetParts(IEnumerable <Stream> streams, string password, Options options)
 {
     foreach (Stream s in streams)
     {
         if (!s.CanRead || !s.CanSeek)
         {
             throw new ArgumentException("Stream is not readable and seekable");
         }
         StreamRarArchiveVolume part = new StreamRarArchiveVolume(s, password, options);
         yield return(part);
     }
 }
コード例 #4
0
 internal static IEnumerable <RarVolume> GetParts(IEnumerable <Stream> streams, string password, Options options)
 {
     foreach (Stream iteratorVariable0 in streams)
     {
         if (!(iteratorVariable0.CanRead && iteratorVariable0.CanSeek))
         {
             throw new ArgumentException("Stream is not readable and seekable");
         }
         StreamRarArchiveVolume iteratorVariable1 = new StreamRarArchiveVolume(iteratorVariable0, password, options);
         yield return(iteratorVariable1);
     }
 }