Пример #1
0
        private string GetRelativePath(IPathHelper pathHelper, UnifiedPath root, UnifiedPath path)
        {
            int rootParts = pathHelper.Split(root).Length;

            return(string.Join(pathHelper.PathSeparator.ToString(), pathHelper.Split(path).Skip(rootParts)));
        }