namespace WPFluent.Abstractions; /// /// Notifies class about being navigated. /// public interface INavigationAware { /// /// Asynchronously handles the event that is fired before the component is navigated from. /// /// A task that represents the asynchronous operation. Task OnNavigatedFromAsync(); /// /// Asynchronously handles the event that is fired after the component is navigated to. /// /// A task that represents the asynchronous operation. Task OnNavigatedToAsync(); }