Пример #1
0
 public static IList <T> GetList <T>(NameValueCollection data, string prefix) where T : new()
 {
     return((IList <T>)BinderHelper.GetList(typeof(T), data, prefix));
 }
Пример #2
0
 public static IList <T> GetList <T>() where T : new()
 {
     return(BinderHelper.GetList <T>(HttpContext.Current.Request.Params, ""));
 }