Class StringAttributeValueSerializer
Serializes string attribute values to XML. The attribute value is a string.
Implements
Inherited Members
Namespace: ComponentSpace.SAML2.Assertions
Assembly: ComponentSpace.Saml2.dll
Syntax
public class StringAttributeValueSerializer : IAttributeValueSerializer
  Constructors
StringAttributeValueSerializer()
Initializes a new instance of the StringAttributeValueSerializer class.
Declaration
public StringAttributeValueSerializer()
  Methods
Deserialize(XmlElement)
Deserializes the string attribute value from XML.
Declaration
public object Deserialize(XmlElement parentElement)
  Parameters
| Type | Name | Description | 
|---|---|---|
| XmlElement | parentElement | The parent element of the attribute value.  | 
      
Returns
| Type | Description | 
|---|---|
| object | The attribute value.  | 
      
Serialize(XmlElement, object)
Serialize the string attribute value to XML.
Declaration
public void Serialize(XmlElement parentElement, object attributeValue)
  Parameters
| Type | Name | Description | 
|---|---|---|
| XmlElement | parentElement | The parent element of the attribute value.  | 
      
| object | attributeValue | The attribute value.  |