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