Table of Contents

Class Company

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

Represents the company.

public class Company
Inheritance
Company
Inherited Members

Remarks

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

Constructors

Company()

Initializes a new instance of the Company class.

public Company()

Company(XmlElement)

Initializes a new instance of the Company class from XML.

public Company(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The company XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

Name

Gets or sets the company.

public string Name { get; set; }

Property Value

string

The company.

Methods

IsValid(XmlElement)

Indicates whether the XML is a company.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is a company; otherwise false.

ToXml(XmlDocument)

Serializes the company to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The company as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.