Esempio n. 1
0
        public long size(FSItem item)
        {
            Measured measured;

            if (item.getFolder() == null)
            {
                measured = item as Measured;
            }
            else
            {
                measured = new MDirectoryAdapter(item as MDirectory);
            }
            return(measured.getSize);
        }
Esempio n. 2
0
 public long size(FSItem item)
 {
     Measured measured;
     if (item.getFolder() == null)
         measured = item as Measured;
     else
         measured = new MDirectoryAdapter(item as MDirectory);
     return measured.getSize;
 }