Ejemplo n.º 1
0
 public XElement Serialize()
 {
     return(new XElement(UblNames.Cac + nameof(TenderingCriterionProperty),
                         ID?.Serialize(nameof(ID)),
                         Name.Serialize(nameof(Name)),
                         Description.Serialize(nameof(Description)),
                         TypeCode?.Serialize(nameof(TypeCode)),
                         ValueDataTypeCode?.Serialize(nameof(ValueDataTypeCode)),
                         ValueUnitCode?.Serialize(nameof(ValueUnitCode)),
                         ValueCurrencyCode?.Serialize(nameof(ValueCurrencyCode)),
                         ExpectedAmount?.Serialize(nameof(ExpectedAmount)),
                         ExpectedID?.Serialize(nameof(ExpectedID)),
                         ExpectedCode?.Serialize(nameof(ExpectedCode)),
                         ExpectedValueNumeric.Serialize(nameof(ExpectedValueNumeric)),
                         ExpectedDescription.Serialize(nameof(ExpectedDescription)),
                         MaximumAmount?.Serialize(nameof(MaximumAmount)),
                         MinimumAmount?.Serialize(nameof(MinimumAmount)),
                         MaximumValueNumeric.Serialize(nameof(MaximumValueNumeric)),
                         MinimumValueNumeric.Serialize(nameof(MinimumValueNumeric)),
                         TranslationTypeCode?.Serialize(nameof(TranslationTypeCode)),
                         CertificationLevelDescription?.Serialize(nameof(CertificationLevelDescription)),
                         CopyQualityTypeCode?.Serialize(nameof(CopyQualityTypeCode)),
                         ApplicablePeriod?.Serialize(nameof(ApplicablePeriod)),
                         TemplateEvidence?.Select(e => e.Serialize(nameof(TemplateEvidence)))
                         ));
 }
Ejemplo n.º 2
0
 public XElement Serialize()
 {
     return(new XElement(UblNames.Cac + nameof(TenderingCriterionResponse),
                         ID.Serialize(nameof(ID)),
                         ValidatedCriterionPropertyID.Serialize(nameof(ValidatedCriterionPropertyID)),
                         ConfidentialityLevelCode.Serialize(nameof(ConfidentialityLevelCode)),
                         ResponseValue?.Select(v => v.Serialize()),
                         ApplicablePeriod?.Serialize(nameof(ApplicablePeriod)),
                         EvidenceSupplied?.Serialize(nameof(EvidenceSupplied))
                         ));
 }