Example #1
0
 public System.String SegString(Directory directory)
 {
     lock (this)
     {
         System.Text.StringBuilder buffer = new System.Text.StringBuilder();
         int count = Count;
         for (int i = 0; i < count; i++)
         {
             if (i > 0)
             {
                 buffer.Append(' ');
             }
             SegmentInfo info = Info(i);
             buffer.Append(info.SegString(directory));
             if (info.dir != directory)
             {
                 buffer.Append("**");
             }
         }
         return(buffer.ToString());
     }
 }