Table of Contents

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

self INavigationInfo

The navigation to compare.

other INavigationInfo

The other navigation object.

Returns

bool

Matches(INavigationInfo, INavigationInfo?, IEqualityComparer?)

Compares two Navigations for equality.

public static bool Matches(this INavigationInfo self, INavigationInfo? other, IEqualityComparer? intentComparer)

Parameters

self INavigationInfo

The navigation to compare.

other INavigationInfo

The other navigation object.

intentComparer IEqualityComparer

An equality comparer for intents.

Returns

bool

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

self INavigationInfo

The navigation to compare.

other INavigationInfo

The other navigation object.

intentComparer Func<TIntent, TIntent, bool>

An function to check intent equality.

Returns

bool

Type Parameters

TIntent

Expected type for intents.