Exemplo n.º 1
0
 internal LocalFileContent(LocalFile file, LocalFileSystem localFs)
 {
     LocalFile = file;
     LocalFs   = localFs;
     try {
         LocalFileInfo = new FileInfo(LocalFile.LocalName);
     } catch (Exception ex) {
         throw new Exception(
                   String.Format("Cannot retrieve file info ({0}): {1}", LocalFile.LocalName, ex.Message), ex);
     }
 }
Exemplo n.º 2
0
        public IFileObject ResolveFile(string name)
        {
            LocalFile file = new LocalFile(NormalizeLocalName(name), this);

            return(file);
        }