public void Visit(AddTransformArgument instruction)
        {
            if (instruction.Value != null)
            {
                _arguments.Add(new ValueArgument(instruction.Name.Resolve(_services).ToString(), instruction.Value.Resolve(_services)));
                return;
            }

            var field = instruction.Property.Resolve(_services).ToString();

            _arguments.Add(new FieldArgument(instruction.Name.Resolve(_services).ToString(), ModelDataPath.Parse(field)));
        }
Ejemplo n.º 2
0
 public void Visit(AddTransformArgument instruction)
 {
 }
 public void Visit(AddTransformArgument instruction)
 {
     _instructions.Add(instruction);
 }