public static GetFilePathForDisplay ( this file ) : string | ||
file | this | |
return | string |
public static string GetFilePathForDisplay(this File file)
{
return file == null ? string.Empty : string.Join("/", file.Id.Value.Value.ToString().Split('\\').Select(x => x.ToFileNameForDisplay()));
}