Example #1
0
 internal static INavigationResult Failure(this FrameFacade result, Exception exception)
 => new NavigationResult
 {
     Success = false, Exception = exception
 };
Example #2
0
 internal static INavigationResult Failure(this FrameFacade result, string message)
 => new NavigationResult
 {
     Success = false, Exception = new Exception(message)
 };
Example #3
0
 internal static INavigationResult Successful(this FrameFacade result)
 => new NavigationResult
 {
     Success = true, Exception = null
 };