コード例 #1
0
 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));
 }
コード例 #2
0
 internal ObjectMap(string memberName, RouteDelegateWithView <TParent> route, IEnumerable <ToRoute> childRoutes)
     : base(memberName, childRoutes)
 {
     _route = route;
 }