Esempio n. 1
0
 public Dictionary <string, string> GetXmlNodeString(JavaScriptObject scriptobject)
 {
     return(scriptobject.ToDictionary <KeyValuePair <string, object>, string, string>(delegate(KeyValuePair <string, object> s) {
         return s.Key;
     }, delegate(KeyValuePair <string, object> s) {
         return Globals.HtmlEncode(s.Value.ToString());
     }));
 }
Esempio n. 2
0
 public System.Collections.Generic.Dictionary <string, string> GetXmlNodeString(JavaScriptObject scriptobject)
 {
     return(scriptobject.ToDictionary((System.Collections.Generic.KeyValuePair <string, object> s) => s.Key, (System.Collections.Generic.KeyValuePair <string, object> s) => Globals.HtmlEncode(s.Value.ToString())));
 }