Based on my understanding, the clear method of the Navigation
Journal would not completely help you as it would erase every
in the corresponding Region
However, you would be able to create a custom RegionNavigationJournal
for that region and define a method that would clear only the last entry and return it in order to add it on the other
as you would need.
The new method could be implemented as follows:
public Entry RemoveLastEntry()
var lastEntry = this.CurrentEntry;
Notice that this new method would not be defined by IRegionNavigationJournal
interface, so you could exclusively cast this
to your custom NavigationJournal
in order to make less changes as possible.
Finally, after removing the lastEntry
from the first
, you would be able to add the retreived entry into the second
I hope you find this helpful.