Esempio n. 1
0
        public override void NodeFunction()
        {
            string debugOutput = "";

            // 'DebugPrint' is the output's string key
            if (State.VariableBag.ContainsKey("DebugPrint") == false)
            {
                State.VariableBag.Add("DebugPrint", "");
            }

            debugOutput  = State.VariableBag["DebugPrint"].ToString();
            debugOutput += print.GetDataAsString();

            State.VariableBag["DebugPrint"] = debugOutput;
        }
Esempio n. 2
0
        public override void NodeFunction()
        {
            string htmlOutput = "";

            if (State.VariableBag.ContainsKey("HTML") == false)
            {
                State.VariableBag.Add("HTML", "");
            }

            htmlOutput = State.VariableBag["HTML"].ToString();

            htmlOutput += "<body>\n";
            htmlOutput += bodyHTML.GetDataAsString();
            htmlOutput += "\n</body>";

            State.VariableBag["HTML"] = htmlOutput;
        }
Esempio n. 3
0
        public override void NodeFunction()
        {
            string htmlOutput = "";

            if (State.VariableBag.ContainsKey("HTML") == false)
            {
                State.VariableBag.Add("HTML", "");
            }

            htmlOutput  = State.VariableBag["HTML"].ToString();
            htmlOutput += "<head>\n";

            htmlOutput += "<title>" + title.GetDataAsString() + "</title>\n";

            htmlOutput += "</head>\n";

            State.VariableBag["HTML"] = htmlOutput;
        }
Esempio n. 4
0
        public override void NodeFunction()
        {
            string outString = "<p>" + content.GetDataAsString() + "</p>\n";

            output = new DataTypes.String(outString);
        }
Esempio n. 5
0
        public override void NodeFunction()
        {
            string outString = "<div>\n" + content.GetDataAsString() + "\n</div>";

            output = new DataTypes.String(outString);
        }
Esempio n. 6
0
 public override void NodeFunction()
 {
     output = new DataTypes.String(A.GetDataAsString() + B.GetDataAsString());
 }