Show / Hide Table of Contents

Class StringAttributeValueSerializer

Serializes string attribute values to XML. The attribute value is a string.

Inheritance
System.Object
StringAttributeValueSerializer
Implements
IAttributeValueSerializer
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 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
System.Xml.XmlElement parentElement

The parent element of the attribute value.

Returns
Type Description
System.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
System.Xml.XmlElement parentElement

The parent element of the attribute value.

System.Object attributeValue

The attribute value.

Implements

IAttributeValueSerializer

See Also

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