public void AddXmlAttribute( Type fieldType, string fieldName, string xmlAttribute, string xmlNamespace) { this._attributes[(object)SoapServices.CreateKey(xmlAttribute, xmlNamespace)] = (object)new SoapServices.XmlToFieldTypeMap.FieldEntry(fieldType, fieldName); }
public void AddXmlElement( Type fieldType, string fieldName, string xmlElement, string xmlNamespace) { this._elements[(object)SoapServices.CreateKey(xmlElement, xmlNamespace)] = (object)new SoapServices.XmlToFieldTypeMap.FieldEntry(fieldType, fieldName); }
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; } }
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; } }
public static void RegisterInteropXmlType(string xmlType, string xmlTypeNamespace, Type type) { SoapServices._interopXmlTypeToType[(object)SoapServices.CreateKey(xmlType, xmlTypeNamespace)] = (object)type; SoapServices._interopTypeToXmlType[(object)type] = (object)new SoapServices.XmlEntry(xmlType, xmlTypeNamespace); }
public static Type GetInteropTypeFromXmlType(string xmlType, string xmlTypeNamespace) => (Type)SoapServices._interopXmlTypeToType[(object)SoapServices.CreateKey(xmlType, xmlTypeNamespace)];
public static Type GetInteropTypeFromXmlElement(string xmlElement, string xmlNamespace) => (Type)SoapServices._interopXmlElementToType[(object)SoapServices.CreateKey(xmlElement, xmlNamespace)];