Пример #1
0
        public string Expand(IDocument d)
        {
            var s = "";

            var parts = VariableUtilities.FolderPathParts(d);

            if (parts.Count > 0)
            {
                s = parts[parts.Count - 1];
            }

            return(s);
        }
Пример #2
0
 public string Expand(IDocument d)
 {
     return(string.Join("/", VariableUtilities.FolderPathParts(d)));
 }