public void AddQualitySpecification(XmlQualitySpecification xmlQualitySpecification) { if (QualitySpecifications == null) { QualitySpecifications = new List <XmlQualitySpecification>(); } QualitySpecifications.Add(xmlQualitySpecification); }
public void AddQualitySpecification( [NotNull] XmlQualitySpecification xmlQualitySpecification) { Assert.ArgumentNotNull(xmlQualitySpecification, nameof(xmlQualitySpecification)); if (QualitySpecifications == null) { QualitySpecifications = new List <XmlQualitySpecification>(); } QualitySpecifications.Add(xmlQualitySpecification); }