UploadPathHelper.FindAvailableName method

namespace: Serenity.Web   assemblySerenity.Net.Services

Finds an available name for a file

public static string FindAvailableName(string path, Func<string, bool> exists)
parameter description
path File path
exists Function that returns if a file exists

Exceptions

exception condition
ArgumentNullException Path or exists is null

See Also