-
Notifications
You must be signed in to change notification settings - Fork 19
/
INavigationInterceptors.cs
112 lines (101 loc) · 2.63 KB
/
INavigationInterceptors.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
using System;
namespace Xamvvm
{
/// <summary>
/// IBasePage / IBasePageModel navigation events.
/// </summary>
public interface INavigationInterceptors : INavigationRemovingFromCache, INavigationCanPush, INavigationPushed,
INavigationCanPop, INavigationPopped, INavigationCanInsert, INavigationInserted, INavigationCanRemove, INavigationRemoved
{
}
/// <summary>
/// INavigationRemovingFromCache.
/// </summary>
public interface INavigationRemovingFromCache
{
/// <summary>
/// Triggered when removing from cache.
/// </summary>
void NavigationRemovingFromCache();
}
/// <summary>
/// INavigationPushing.
/// </summary>
public interface INavigationCanPush
{
/// <summary>
/// Triggered when pushing. If <c>false</c>returned push is cancelled.
/// </summary>
bool NavigationCanPush();
}
/// <summary>
/// INavigationPushed.
/// </summary>
public interface INavigationPushed
{
/// <summary>
/// Triggered when pushed.
/// </summary>
void NavigationPushed();
}
/// <summary>
/// INavigationPopping.
/// </summary>
public interface INavigationCanPop
{
/// <summary>
/// Triggered when popping. If <c>false</c>returned pop is cancelled.
/// </summary>
bool NavigationCanPop();
}
/// <summary>
/// INavigationPopped.
/// </summary>
public interface INavigationPopped
{
/// <summary>
/// Triggered when popped.
/// </summary>
void NavigationPopped();
}
/// <summary>
/// INavigationInserting.
/// </summary>
public interface INavigationCanInsert
{
/// <summary>
/// Triggered when inserting. If <c>false</c>returned insert is cancelled.
/// </summary>
bool NavigationCanInsert();
}
/// <summary>
/// INavigationInserted.
/// </summary>
public interface INavigationInserted
{
/// <summary>
/// Triggered when inserted.
/// </summary>
void NavigationInserted();
}
/// <summary>
/// INavigationRemoving.
/// </summary>
public interface INavigationCanRemove
{
/// <summary>
/// Triggered when removing. If <c>false</c>returned remove is cancelled.
/// </summary>
bool NavigationCanRemove();
}
/// <summary>
/// INavigationRemoved.
/// </summary>
public interface INavigationRemoved
{
/// <summary>
/// Triggered when removed.
/// </summary>
void NavigationRemoved();
}
}