示例#1
0
 /// <summary>
 /// Collapses a <see cref="DirectoryPath"/> containing ellipses.
 /// </summary>
 /// <returns>A collapsed <see cref="DirectoryPath"/>.</returns>
 public DirectoryPath Collapse()
 {
     return(new DirectoryPath(PathCollapser.Collapse(this)));
 }
示例#2
0
 /// <summary>
 /// Collapses a <see cref="FilePath"/> containing ellipses.
 /// </summary>
 /// <returns>A collapsed <see cref="FilePath"/>.</returns>
 public FilePath Collapse()
 {
     return(new FilePath(PathCollapser.Collapse(this)));
 }