public static void ApplySorting(this IRootSpecification gridSpec,
string sort,
string orderByDescendingMethodName,
string groupByMethodName)
{
should be
public static void ApplySorting(this IRootSpecification gridSpec,
string sort,
string orderByMethodName,
string orderByDescendingMethodName)
{
and very last "else" block should be...
else
{
specificationType.GetMethod(
orderByMethodName,
BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)
.Invoke(gridSpec, new object[] { propertyReturningExpression });
}
awesome sample....thank you.
should be
and very last "else" block should be...
awesome sample....thank you.