Ejemplo n.º 1
0
 private void ClearStreams()
 {
     try
     {
         FileStreams fs = new FileStreams(Application.ExecutablePath);
         if ((fs != null) && (fs.Count > 0))
         {
             foreach (StreamInfo s in fs)
             {
                 s.Delete();
             }
         }
     }
     catch (Exception xx) { Utils.OnError(xx); }
 }
Ejemplo n.º 2
0
 public StreamEnumerator(FileStreams mappings)
 {
     this.baseEnumerator = ((IEnumerable)(mappings)).GetEnumerator();
 }
Ejemplo n.º 3
0
 internal StreamInfo(FileStreams Parent, string Name, long Size)
 {
     _parent = Parent;
     _name   = Name;
     _size   = Size;
 }