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