internal static ToRoute MapToObject <TParent>(this string memberName, RouteDelegateWithView <TParent> route, IEnumerable <ToRoute> childRoutes = null, IEnumerable <ToRoute> fallbackRoutes = null) where TParent : class { return(() => new View <TParent>(memberName, route, childRoutes)); }
internal ObjectMap(string memberName, RouteDelegateWithView <TParent> route, IEnumerable <ToRoute> childRoutes) : base(memberName, childRoutes) { _route = route; }