Пример #1
0
        public IFileInfo GetFileInfo(string sPath)
        {
            StandardFileInfoObject info = new StandardFileInfoObject(GetPath(sPath));

            if (info.Loaded)
            {
                return(info);
            }
            else
            {
                return(null);
            }
        }
Пример #2
0
 public IFileInfo GetFileInfo(string sPath)
 {
     StandardFileInfoObject info = new StandardFileInfoObject(GetPath(sPath));
     if (info.Loaded)
     {
         return info;
     }
     else
     {
         return null;
     }
 }