Bloom.Book.UserPrefs.UpdateFileLocation C# (CSharp) Method

UpdateFileLocation() public method

Used when the directory is changed because the book has been renamed
public UpdateFileLocation ( string newDirectoryName ) : void
newDirectoryName string
return void
        public void UpdateFileLocation(string newDirectoryName)
        {
            _filePath = Path.Combine(newDirectoryName, Path.GetFileName(_filePath));
        }