/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 vote272 views1 answer
- 0 vote247 views1 answer
- 1 vote268 views1 answer
- 0 vote250 views1 answer
- 0 vote268 views1 answer
- 2 votes273 views1 answer
- 1 vote264 views1 answer
- 481 votes338 views10 answers
- 0 vote266 views1 answer
- 0 vote248 views1 answer