Esempio n. 1
0
 private static Tuple <string, string, NameValueCollection> DeserializeProperty(string text)
 {
     using (var rdr = new System.IO.StringReader(text)) {
         string name, value, rigthPart;
         var    parameters = new System.Collections.Specialized.NameValueCollection();
         rdr.Property(out name, out value, out rigthPart, parameters);
         if (name == null)
         {
             return(null);
         }
         return(Tuple.Create(name, value, parameters));
     }
 }