Ejemplo n.º 1
0
        private Task Evaluate(Expression Script, Variables Variables, string Id)
        {
            object Result = this.Evaluate(Script, Variables);

            StringBuilder Html = new StringBuilder();

            InlineScript.GenerateHTML(Result, Html, true, Variables);

            return(ClientEvents.ReportAsynchronousResult(Id, "text/html; charset=utf-8", Encoding.UTF8.GetBytes(Html.ToString())));
        }