public object VisitType(XjsltType node) { using (var ctx = NewContext()) { Expression expressionCreatetService = Expression.Call(Expression.Constant(node.ServiceProvider), TransformJsonServiceProvider.Method); foreach (var property in node.Properties) { var value = (Expression)property.Value.Accept(this); expressionCreatetService = Expression.Call(null, RuntimeContext._mapPropertyService.Method, ctx.Current.Context, expressionCreatetService, Expression.Constant(property.Name), value); } var result = Expression.Call(RuntimeContext._getContentFromService.Method, ctx.Current.Context, ctx.Current.RootSource, expressionCreatetService); return(result); } }
public object VisitType(XjsltType node) { throw new NotImplementedException(); }