Class NavigationExtensions
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Navigation.dll
INavigationInfo extension methods.
public static class NavigationExtensions
- Inheritance
-
NavigationExtensions
- Inherited Members
Methods
Matches(INavigationInfo, INavigationInfo?)
Compares two Navigations for equality.
public static bool Matches(this INavigationInfo self, INavigationInfo? other)
Parameters
selfINavigationInfoThe navigation to compare.
otherINavigationInfoThe other navigation object.
Returns
Matches(INavigationInfo, INavigationInfo?, IEqualityComparer?)
Compares two Navigations for equality.
public static bool Matches(this INavigationInfo self, INavigationInfo? other, IEqualityComparer? intentComparer)
Parameters
selfINavigationInfoThe navigation to compare.
otherINavigationInfoThe other navigation object.
intentComparerIEqualityComparerAn equality comparer for intents.
Returns
Matches<TIntent>(INavigationInfo, INavigationInfo?, Func<TIntent, TIntent, bool>)
Compares two Navigations for equality.
public static bool Matches<TIntent>(this INavigationInfo self, INavigationInfo? other, Func<TIntent, TIntent, bool> intentComparer)
Parameters
selfINavigationInfoThe navigation to compare.
otherINavigationInfoThe other navigation object.
intentComparerFunc<TIntent, TIntent, bool>An function to check intent equality.
Returns
Type Parameters
TIntentExpected type for intents.