Ejemplo n.º 1
0
        public void Modify(IAttribute originalAttribute, IAttribute newAttribute)
        {
            ICodeExpressionNode node = newAttribute.AddCodeExpressionNode();
            string expression        = _syntaxProvider.CreateGetPropertyPathExpression(originalAttribute.GetTextValue());

            node.SetExpressionBody(
                new CodeExpression(expression)
                );
        }