Class XmlAttributeValueSerializer
Serializes XML element attribute values to XML.
The attribute value is an XmlElement
.
Inheritance
System.Object
XmlAttributeValueSerializer
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Assertions
Assembly: ComponentSpace.Saml2.dll
Syntax
public class XmlAttributeValueSerializer : IAttributeValueSerializer
Constructors
XmlAttributeValueSerializer()
Initializes a new instance of the XmlAttributeValueSerializer
class.
Declaration
public XmlAttributeValueSerializer()
Methods
Deserialize(XmlElement)
Deserializes the XML element attribute value from XML.
Declaration
public object Deserialize(XmlElement parentElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | parentElement | The parent element of the attribute value. |
Returns
Type | Description |
---|---|
System.Object | The attribute value. |
Serialize(XmlElement, Object)
Serialize the XML element attribute value to XML.
Declaration
public void Serialize(XmlElement parentElement, object attributeValue)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | parentElement | The parent element of the attribute value. |
System.Object | attributeValue | The attribute value. |