public static IXamarinHostBuilder UseNavigationMiddleware(this IXamarinHostBuilder builder, Action <RemovePageDelegate, NavigationContext> action) { return(builder.ConfigureNavigation((ctx, sp, sb) => { sb.UseMiddleware(action); })); }
public static IXamarinHostBuilder UseNavigationMiddleware <TMiddleware>(this IXamarinHostBuilder builder) where TMiddleware : class { return(builder.ConfigureNavigation((ctx, sp, sb) => { sb.UseMiddleware <TMiddleware>(); })); }
public static IXamarinHostBuilder UseNavigationMiddleware(this IXamarinHostBuilder builder, Func <PopModalDelegate, NavigationContext, Task> func) { return(builder.ConfigureNavigation((ctx, sp, sb) => { sb.UseMiddleware(func); })); }