internal static string GetFullMemberName(LambdaExpression memberSelector)
        {
            var memberStack = WalkExpression(memberSelector);

            memberStack.Item2.Pop();

            return(ResourceKeyBuilder.BuildResourceKey(memberStack.Item1, memberStack.Item2));
        }
示例#2
0
 /// <summary>
 /// Creates new instance.
 /// </summary>
 /// <param name="keyBuilder">Builder of the keys.</param>
 public ExpressionHelper(ResourceKeyBuilder keyBuilder)
 {
     _keyBuilder = keyBuilder;
 }