public System.Xml.XmlNode Generate(XCRI.Interfaces.XCRICAP11.ISubject subject)
 {
     return(this._GetGeneratedNode((w) =>
     {
         this.XmlGenerator.Write(w, subject);
     }));
 }
Beispiel #2
0
 public void Write
 (
     System.Xml.XmlWriter xmlWriter,
     XCRI.Interfaces.XCRICAP11.ISubject subject
 )
 {
     if (subject == null)
     {
         throw new ArgumentNullException("subject");
     }
     if ((subject.CompatibleWith & XCRIProfiles.XCRI_v1_1) == 0)
     {
         return;
     }
     base._Write
     (
         xmlWriter,
         "subject",
         Configuration.Namespaces.XCRICAP11NamespaceUri,
         subject.Value,
         subject.RenderRaw,
         subject.XsiTypeValue,
         subject.XsiTypeValueNamespace,
         subject.XmlLanguage
     );
 }