Skip to content
Permalink
Branch: master
Find file Copy path
1 contributor

Users who have contributed to this file

24 lines (20 sloc) 915 Bytes
using System;
namespace Prism.Regions
{
/// <summary>
/// Provides a way for objects involved in navigation to determine if a navigation request should continue.
/// </summary>
public interface IConfirmNavigationRequest : INavigationAware
{
/// <summary>
/// Determines whether this instance accepts being navigated away from.
/// </summary>
/// <param name="navigationContext">The navigation context.</param>
/// <param name="continuationCallback">The callback to indicate when navigation can proceed.</param>
/// <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.
/// </remarks>
void ConfirmNavigationRequest(NavigationContext navigationContext, Action<bool> continuationCallback);
}
}
You can’t perform that action at this time.