コード例 #1
0
 public void Initialize(SortProperty[] sortProperties)
 {
     SortProperty.BindSortProperties(sortProperties, typeof(T));
     method   = CreateDynamicCompareMethod(sortProperties);
     Comparer = (Comparison <T>)method.CreateDelegate(typeof(Comparison <T>));
 }
コード例 #2
0
 public void Initialize(string orderBy)
 {
     Initialize(SortProperty.ParseOrderBy(orderBy));
 }