blob: 23d2e0035b475e87cc57c78fc15b4b59d94223c1 (
plain)
| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 20 00 00 00 20 08 06 00 00 00 73 7a 7a | .PNG........IHDR.............szz |
| 0020 | f4 00 00 00 04 73 42 49 54 08 08 08 08 7c 08 64 88 00 00 00 09 70 48 59 73 00 00 00 dd 00 00 00 | .....sBIT....|.d.....pHYs....... |
| 0040 | dd 01 70 53 a2 07 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 77 77 77 2e 69 6e 6b 73 63 | ..pS......tEXtSoftware.www.inksc |
| 0060 | 61 70 65 2e 6f 72 67 9b ee 3c 1a 00 00 04 70 49 44 41 54 58 85 c5 57 6b 6c 54 45 14 fe ce dc b9 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.MachineStudio.Common.Navigation
{
/// <summary>
/// Represents an object which can abort the navigation from it.
/// </summary>
public interface INavigationBlocker
{
/// <summary>
/// Called before the navigation system navigates from this object.
/// Return false to abort the navigation.
/// </summary>
/// <returns></returns>
Task<bool> OnNavigateOutRequest();
/// <summary>
/// Called before the navigation system navigates back from this object.
/// Return false to abort the navigation.
/// </summary>
/// <returns></returns>
Task<bool> OnNavigateBackRequest();
}
}
|