Example #1
0
        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);
            }
        }
Example #2
0
 public void AddChildLocation(Location child)
 {
     ChildLocations.Add(child);
 }