Table of Contents

Class Extensions

Namespace
ComponentSpace.Saml2.Metadata
Assembly
ComponentSpace.Saml2.dll

Represents an extensions.

public class Extensions
Inheritance
Extensions
Inherited Members

Remarks

Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.

Constructors

Extensions()

Initializes a new instance of the Extensions class.

public Extensions()

Extensions(XmlElement)

Initializes a new instance of the Extensions class from XML.

public Extensions(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The extensions XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

AnyElements

Gets or sets the list of XML elements.

public IList<XmlElement> AnyElements { get; set; }

Property Value

IList<XmlElement>

The list of XML elements.

Methods

IsValid(XmlElement)

Indicates whether the XML is an extensions.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an extensions; otherwise false.

ToXml(XmlDocument)

Serializes the extensions to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The extensions as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.