GetUniqueFolderName() static private method

if necessary, append a number to make the subfolder name unique within the given folder
static private GetUniqueFolderName ( string parentPath, string name ) : string
parentPath string
name string
return string
Exemplo n.º 1
0
        private string GetInitialName(string parentCollectionPath)
        {
            var name = BookStorage.SanitizeNameForFileSystem(UntitledBookName);

            return(BookStorage.GetUniqueFolderName(parentCollectionPath, name));
        }