Interface IConfirmNavigationRequest
Provides a way for objects involved in navigation to determine if a navigation request should continue.
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IConfirmNavigationRequest : INavigationAware
Methods
View SourceConfirmNavigationRequest(NavigationContext, Action<Boolean>)
Determines whether this instance accepts being navigated away from.
Declaration
void ConfirmNavigationRequest(NavigationContext navigationContext, Action<bool> continuationCallback)
Parameters
Type | Name | Description |
---|---|---|
NavigationContext | navigationContext | The navigation context. |
System.Action<System.Boolean> | continuationCallback | The callback to indicate when navigation can proceed. |
Remarks
Implementors of this method do not need to invoke the callback before this method is completed, but they must ensure the callback is eventually invoked.