/Javascript/Ember/Public class NameOf { public static String nameof<T>(Expression<Func<T>> name) { MemberExpression expressionBody = (MemberExpression)name.Body; return expressionBody.Member.Name; } }
Public class NameOf { public static String nameof<T>(Expression<Func<T>> name) { MemberExpression expressionBody = (MemberExpression)name.Body; return expressionBody.Member.Name; } }
Public class NameOf { public static String nameof(Expression>name) { MemberExpression expressionBody = (MemberExpression)name.Body; return expressionBody.Member.Name; } }
1
- 1 vote224 views1 answer
- 0 vote205 views1 answer
- 0 vote217 views1 answer
- 0 vote215 views1 answer
- 0 vote231 views1 answer
- 3 votes224 views2 answers
- 1 vote229 views1 answer
- 2 votes223 views1 answer
- 0 vote198 views1 answer
- 0 vote206 views1 answer