예제 #1
0
파일: Saml.cs 프로젝트: openmedicus/SealApi
 public XElement ToXml()
 {
     return(new XElement(
                NA.saml + "Subject",
                //BaseID == null ? null : BaseID.ToXml(),
                NameID == null ? null : NameID.ToXml(),
                //EncryptedID== null ? null : EncryptedID.ToXml(),
                SubjectConfirmations == null ? null : from x in SubjectConfirmations where x != null select x.ToXml()
                ));
 }
예제 #2
0
파일: Saml.cs 프로젝트: openmedicus/SealApi
 public virtual XElement ToXml()
 {
     return(new XElement(
                NA.saml + "SubjectConfirmation",
                new XAttribute("Method", Method),
                //BaseID == null ? null : BaseID.ToXml(),
                NameID == null ? null : NameID.ToXml(),
                //EncryptedID == null ? null : EncryptedID.ToXml(),
                SubjectConfirmationData == null ? null : SubjectConfirmationData.ToXml()
                ));
 }