Additional Info is provided in some cases when objects are created. GeneralResult
Inheritance: TL_Data
Esempio n. 1
0
 internal GeneralResult(XmlRpcStruct data)
 {
     operation = (string)data["operation"];
     status    = (bool)(data["status"]);
     id        = toInt(data, "id");
     message   = (string)data["message"];
     if ((data.ContainsKey("additionalInfo") &&
          (data["additionalInfo"] is XmlRpcStruct)))
     {
         additionalInfo = new AdditionalInfo(data["additionalInfo"] as XmlRpcStruct);
     }
     else
     {
         additionalInfo = null;
     }
 }
Esempio n. 2
0
 internal GeneralResult(XmlRpcStruct data)
 {
     operation = (string)data["operation"];
     status = (bool)(data["status"]);
     id = toInt(data, "id");
     message = (string)data["message"];
     if ((data.ContainsKey("additionalInfo") &&
       (data["additionalInfo"] is XmlRpcStruct)))
         additionalInfo = new AdditionalInfo(data["additionalInfo"] as XmlRpcStruct);
     else
         additionalInfo = null;         
 }