ConversionsGetNewFileNameAsync Method |
Compute a new name from a tentative name and a function that tests if a name exists.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static Task<string> GetNewFileNameAsync(
string tentativeName,
Func<string, Task<bool>> testNameFunc
)
Parameters
- tentativeName
- Type: SystemString
The tentative name. - testNameFunc
- Type: SystemFuncString, TaskBoolean
The name check function.
Return Value
Type:
TaskString
A string representing a new name.
Exceptions See Also