public PathInfo GetDirectoryName(PathInfo filePath) { return(PathInfo.Create(System.IO.Path.GetDirectoryName(filePath.ToString()))); }
public PathInfo ChangeExtension(PathInfo fileName, string extension) { return(PathInfo.Create(System.IO.Path.ChangeExtension(fileName.ToString(), extension))); }
public PathInfo GetFileNameWithoutExtension(PathInfo path) { return(PathInfo.Create(System.IO.Path.GetFileNameWithoutExtension(path.ToString()))); }