Exemple #1
0
 public void GetFieldTypeAndNameFromXmlAttribute(string xmlAttribute, string xmlNamespace, out Type type, out string name)
 {
     SoapServices.XmlToFieldTypeMap.FieldEntry fieldEntry = (SoapServices.XmlToFieldTypeMap.FieldEntry) this._attributes[SoapServices.CreateKey(xmlAttribute, xmlNamespace)];
     if (fieldEntry != null)
     {
         type = fieldEntry.Type;
         name = fieldEntry.Name;
         return;
     }
     type = null;
     name = null;
 }
Exemple #2
0
 public void GetFieldTypeAndNameFromXmlElement(string xmlElement, string xmlNamespace, out Type type, out string name)
 {
     SoapServices.XmlToFieldTypeMap.FieldEntry fieldEntry = (SoapServices.XmlToFieldTypeMap.FieldEntry) this._elements[(object)SoapServices.CreateKey(xmlElement, xmlNamespace)];
     if (fieldEntry != null)
     {
         type = fieldEntry.Type;
         name = fieldEntry.Name;
     }
     else
     {
         type = (Type)null;
         name = (string)null;
     }
 }