Example #1
0
 public static string GetName <TClass>(Expression <Func <TClass, object> > expression)
 {
     return(ExpressionUtilities.GetPropertyName(expression));
 }
Example #2
0
 public static string GetName <TProperty>(Expression <Func <TProperty> > expression)
 {
     return(ExpressionUtilities.GetPropertyName(expression));
 }