/// <summary> /// Initializes a new instance of <see cref="SubFeature"/> /// </summary> /// <param name="parent">Parent <see cref="Feature"/></param> /// <param name="featureName">Name of the <see cref="IFeature"/></param> public SubFeature(IFeature parent, FeatureName featureName) { Module = parent.Parent; Name = featureName; Parent = parent; parent.AddSubFeature(this); }