public IFileInfo GetFileInfo(string sPath)
        {
            var info = new StandardFileInfoObject(this.GetPath(sPath));

            if (info.Loaded)
            {
                return(info);
            }

            return(null);
        }
Пример #2
0
        public IFileInfo GetFileInfo(string path)
        {
            var info = new StandardFileInfoObject(this.GetPath(path));

            return(info.Loaded ? info : null);
        }
        public IFileInfo GetFileInfo(string sPath)
        {
            var info = new StandardFileInfoObject(this.GetPath(sPath));
            if (info.Loaded)
            {
                return info;
            }

            return null;
        }