コード例 #1
0
 /// <summary>
 /// Changes the file name of the path by combining the specified path with the <see cref="Directory"/>.
 /// </summary>
 /// <param name="filePath">The path to combine with the <see cref="Directory"/>.</param>
 /// <returns>A new path with the specified path replacing the current file name.</returns>
 public FilePath ChangeFileName(FilePath filePath) => Directory.CombineFile(filePath);