public Property FindOrCreateProperty(PropertySpecification specification) { var property = this.properties.Find(specification.Name); if (property == null) { property = specification.Create(); this.properties.Add(property); } return(property); }
public void SetUp() { var propertySpecification = new PropertySpecification("property 1 name", "property 1 type", string.Empty); this.property = propertySpecification.Create(); }