コード例 #1
0
        public static EventToMethodRoute Create <TRouteType>(Component routeOutComponent, EventInfo eventInfo, Component routeInComponent, Expression <Action <TRouteType> > methodExpression, RouteConverter routeConverter)
        {
            if (eventInfo == null)
            {
                throw new ArgumentNullException("eventInfo");
            }

            return(EventToMethodRoute.Create(routeOutComponent, eventInfo.Name, routeInComponent, methodExpression, routeConverter));
        }
コード例 #2
0
 public static EventToMethodRoute Create <TRouteType>(Component routeOutComponent, EventInfo eventInfo, Component routeInComponent, Expression <Action <TRouteType> > methodExpression)
 {
     return(EventToMethodRoute.Create(routeOutComponent, eventInfo, routeInComponent, methodExpression, null));
 }