using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.PPC.Common.Navigation
{
///
/// Represents a object which provides a result the navigation system navigates away from it.
///
/// The type of the result.
/// The type of the pass.
public interface INavigationResultProvider
{
///
/// Called when the navigation system requests a result when it is navigating away from this instance.
///
///
TResult GetNavigationResult();
///
/// Called when navigation system is going to navigate to this instance with the specified object.
///
/// The object.
void OnNavigationObjectReceived(TPass obj);
}
}