Пример #1
0
            private string GetLocation(FileLayout layout)
            {
                string basePath = GetBasePath(layout);

                if (basePath == null)
                {
                    return(null);
                }

                bool   absolute;
                string path;

                fileRecord.GetPath(layout, out path, out absolute);

                if (absolute)
                {
                    return(path);
                }
                else
                {
                    return(string.Format("{0}/{1}", basePath, path));
                }
            }