/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 vote168 views1 answer
- -1 vote168 views1 answer
- 0 vote194 views1 answer
- 1 vote194 views1 answer
- 0 vote189 views1 answer
- 0 vote168 views1 answer
- 2 votes191 views1 answer
- 0 vote170 views1 answer
- 0 vote202 views1 answer
- 0 vote205 views1 answer