Method CurrentPathStartsWith
CurrentPathStartsWith(IConcreteRootRoutePart)
Determines whether the current route path starts with the same path as the specified root route part.
Declaration
public bool CurrentPathStartsWith(IConcreteRootRoutePart rootRoutePart)
Parameters
| Type | Name | Description |
|---|---|---|
| IConcreteRootRoutePart | rootRoutePart |
Returns
| Type | Description |
|---|---|
| bool |
Implements
Remarks
This method does not require the mapped views or view models on the current and specified routes to match, only the route paths.
CurrentPathStartsWith(ConcreteRoute)
Determines whether the current route path starts with the same path as the specified route.
Declaration
public bool CurrentPathStartsWith(ConcreteRoute route)
Parameters
| Type | Name | Description |
|---|---|---|
| ConcreteRoute | route |
Returns
| Type | Description |
|---|---|
| bool |
Implements
Remarks
This method does not require the mapped views or view models on the current and specified routes to match, only the route paths.