示例#1
0
 public static T FindByViewRequest <T>(this ILayoutContainer root, ViewRequest viewRequest)
     where T : LayoutContent
 {
     return(viewRequest != null?root.FindByViewId <T>(viewRequest.ViewId) : null);
 }