Additional Info is provided in some cases when objects are created. GeneralResult
Наследование: TL_Data
Пример #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;
     }
 }
Пример #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;         
 }