public string Expand(IDocument d) { var s = ""; var parts = VariableUtilities.FolderPathParts(d); if (parts.Count > 0) { s = parts[parts.Count - 1]; } return(s); }
public string Expand(IDocument d) { return(string.Join("/", VariableUtilities.FolderPathParts(d))); }