Method CanNavigate
CanNavigate(NavDestination, NavDestination, string)
Find a destination by its id.
Declaration
public bool CanNavigate(NavDestination from, NavDestination to, string route)
Parameters
| Type | Name | Description |
|---|---|---|
| NavDestination | from | The source destination. |
| NavDestination | to | The destination to find. |
| string | route | The route to take to reach the destination. |
Returns
| Type | Description |
|---|---|
| bool | True if the destination can be reached from the source destination, false otherwise. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if the destination is null. |