Bloom.WebLibraryIntegration.BookTransfer.UploadPdfPath C# (CSharp) Method

UploadPdfPath() static private method

static private UploadPdfPath ( string bookFolder ) : string
bookFolder string
return string
        internal static string UploadPdfPath(string bookFolder)
        {
            // Do NOT use ChangeExtension here. If the folder name has a period (e.g.: "Look at the sky. What do you see")
            // ChangeExtension will strip of the last sentence, which is not what we want (and not what BloomLibrary expects).
            return Path.Combine(bookFolder, Path.GetFileName(bookFolder) + ".pdf");
        }