public RoutingEventArgs(RouteContext toContext, string fromRoute, object fromVm) { To = new RouteInfo(toContext); From = new RouteInfo(fromVm, fromRoute); }
public RouteInfo(RouteContext routeContext) : this(routeContext.ViewModel, routeContext.Route) { }