Custom file naming: manual testing complete
This commit is contained in:
parent
ab450c37c4
commit
a3cf6ac40d
3 changed files with 21 additions and 7 deletions
|
|
@ -101,7 +101,9 @@ namespace LibationFileManager
|
|||
/// EditTemplateDialog: Get template generated filename for portion of path
|
||||
/// </summary>
|
||||
public string GetPortionFilename(LibraryBookDto libraryBookDto, string template)
|
||||
=> getFileNamingTemplate(libraryBookDto, template, null, null)
|
||||
=> string.IsNullOrWhiteSpace(template)
|
||||
? ""
|
||||
: getFileNamingTemplate(libraryBookDto, template, null, null)
|
||||
.GetFilePath();
|
||||
|
||||
internal static FileNamingTemplate getFileNamingTemplate(LibraryBookDto libraryBookDto, string template, string dirFullPath, string extension)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue