Exemplo n.º 1
0
 public System.Xml.XmlNode Generate(XCRI.Interfaces.XCRICAP11.IVenue venue)
 {
     return(this._GetGeneratedNode((w) =>
     {
         this.XmlGenerator.Write(w, venue);
     }));
 }
Exemplo n.º 2
0
 public void Write
 (
     System.Xml.XmlWriter xmlWriter,
     XCRI.Interfaces.XCRICAP11.IVenue venue
 )
 {
     if (venue == null)
     {
         throw new ArgumentNullException("venue");
     }
     if ((venue.CompatibleWith & XCRIProfiles.XCRI_v1_1) == 0)
     {
         return;
     }
     this._WriteStartElement(xmlWriter, "venue", Configuration.Namespaces.XCRICAP11NamespaceUri);
     this.WriteXCRI11OrganisationItem(xmlWriter, (XCRI.Interfaces.XCRICAP11.IOrganisation)venue);
     this._WriteEndElement(xmlWriter);
 }