Example #1
0
 public InvalidRouteException(Route route) : base($"the ({route}) route format is invalid")
 {
 }
Example #2
0
 private bool IsDuplicateRoute(Route route)
 {
     return(Routes.Any(r => r.ToString() == route.ToString()));
 }