public static void TryOnRouteEventException(this IRouteErrorListener listener, Route route, RouteEventType eventType, Exception exception) { if (listener == null) { return; } try { listener.OnRouteEventException(route, eventType, exception); } catch { // ignored } }
public virtual void OnRouteEventException(Route route, RouteEventType eventType, Exception exception) { }
public RouteEventError(RouteEventType routeEventType, Exception exception) { this.RouteEventType = routeEventType; this.Exception = exception; }
public RouteEventError(RouteEventType routeEventType, Exception exception) { RouteEventType = routeEventType; Exception = exception; }