private static CreateKey ( String elementName, String elementNamespace ) : String | ||
elementName | String | |
elementNamespace | String | |
return | String |
public void GetFieldTypeAndNameFromXmlElement(string xmlElement, string xmlNamespace, out Type type, out string name) { FieldEntry entry = (FieldEntry)this._elements[SoapServices.CreateKey(xmlElement, xmlNamespace)]; if (entry != null) { type = entry.Type; name = entry.Name; } else { type = null; name = null; } }
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; }
public void AddXmlAttribute(Type fieldType, string fieldName, string xmlAttribute, string xmlNamespace) { this._attributes[SoapServices.CreateKey(xmlAttribute, xmlNamespace)] = new SoapServices.XmlToFieldTypeMap.FieldEntry(fieldType, fieldName); }
public void AddXmlElement(Type fieldType, string fieldName, string xmlElement, string xmlNamespace) { this._elements[SoapServices.CreateKey(xmlElement, xmlNamespace)] = new SoapServices.XmlToFieldTypeMap.FieldEntry(fieldType, fieldName); }
public static void RegisterInteropXmlType(string xmlType, string xmlTypeNamespace, Type type) { SoapServices._interopXmlTypeToType[SoapServices.CreateKey(xmlType, xmlTypeNamespace)] = type; SoapServices._interopTypeToXmlType[type] = new SoapServices.XmlEntry(xmlType, xmlTypeNamespace); }
public static Type GetInteropTypeFromXmlType(string xmlType, string xmlTypeNamespace) { return((Type)SoapServices._interopXmlTypeToType[SoapServices.CreateKey(xmlType, xmlTypeNamespace)]); }
public static Type GetInteropTypeFromXmlElement(string xmlElement, string xmlNamespace) { return((Type)SoapServices._interopXmlElementToType[SoapServices.CreateKey(xmlElement, xmlNamespace)]); }
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; } }
public static void RegisterInteropXmlElement(string xmlElement, string xmlNamespace, Type type) { SoapServices._interopXmlElementToType[(object)SoapServices.CreateKey(xmlElement, xmlNamespace)] = (object)type; SoapServices._interopTypeToXmlElement[(object)type] = (object)new SoapServices.XmlEntry(xmlElement, xmlNamespace); }