Show / Hide Table of Contents

Interface IAttributeValueSerializer

The interface for serializing attribute values to XML. Implement this interface to support custom attribute values.

Namespace: ComponentSpace.SAML2.Assertions
Assembly: ComponentSpace.Saml2.dll
Syntax
public interface IAttributeValueSerializer

Methods

Deserialize(XmlElement)

Deserializes the attribute value from XML.

Declaration
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 attribute value to XML.

Declaration
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.

See Also

AttributeValue
RegisterAttributeValueSerializer(System.String, System.String, IAttributeValueSerializer)
StringAttributeValueSerializer
XmlAttributeValueSerializer
In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2022. All rights reserved.