/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
- 0 vote205 views1 answer
- 2 votes199 views2 answers
- 4 votes203 views1 answer
- 0 vote216 views1 answer
- 2 votes206 views1 answer
- 0 vote172 views1 answer
- 3 votes210 views2 answers
- 1 vote198 views1 answer
- 0 vote207 views1 answer
- 0 vote200 views1 answer