Esempio n. 1
0
            ISourceDefinition ToPath <T>(MemberExpression node)
            {
                var getter = Expression.Lambda <Func <T> >(node);

                return(BuilderBase.CreateMemberDefinition(getter, null, false, node.IsWritable()));
            }
Esempio n. 2
0
            ISourceDefinition CreateThis <T>(ConstantExpression node)
            {
                var getter = Expression.Lambda <Func <T> >(node);

                return(BuilderBase.CreateMemberDefinition(getter, null, false, false, pathOverride: "this"));
            }