Ejemplo n.º 1
0
 /// <summary>
 /// Gets the path for a track, without the extension.
 /// </summary>
 /// <param name="track">The track.</param>
 /// <param name="pathFormat">The path format.</param>
 /// <returns>A formatted path without an extension.</returns>
 public static string GetBasicPath(this Track track, string pathFormat)
 {
     return(StringObjectFormatter.Format(pathFormat, track,
                                         o => PathHelpers.CleanFilename(o.ToString())));
 }