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
xmlElementXmlElementThe 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
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is a company; otherwisefalse.
ToXml(XmlDocument)
Serializes the company to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The company as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.