internal RequestVariable(XmlElement varElement)
 {
     RequestVariableEditor e = new RequestVariableEditor();
     e.VariableName = varElement.GetAttribute("Name");
     e.VariableKey = varElement.GetAttribute("Key");
     this.Editor = e;            
 }
예제 #2
0
        internal RequestVariable(XmlElement varElement)
        {
            RequestVariableEditor e = new RequestVariableEditor();

            e.VariableName = varElement.GetAttribute("Name");
            e.VariableKey  = varElement.GetAttribute("Key");
            this.Editor    = e;
        }
예제 #3
0
        public System.Xml.XmlElement GetXml()
        {
            RequestVariableEditor editor = this.Editor as RequestVariableEditor;
            XmlHelper             h      = new XmlHelper("<Variable/>");

            h.SetAttribute(".", "Name", editor.VariableName);
            h.SetAttribute(".", "Source", this.Source);
            h.SetAttribute(".", "Key", editor.VariableKey);
            return(h.GetElement("."));
        }