public void AddChild(Location location, IEnumerable <ActivatedFeature> activatedFeatures, IEnumerable <FeatureDefinition> definitions) { if (location != null) { ChildLocations.Add(location); } if (activatedFeatures != null) { ActivatedFeatures.AddRange(activatedFeatures); } if (definitions != null) { Definitions.AddRange(definitions); } }
public void AddChildLocation(Location child) { ChildLocations.Add(child); }