private PlanFeature(PlanFeatureId id, string name, Feature feature, IImmutableList <MeasurementSet> measurementSets) { Id = id; Name = name; Feature = feature; MeasurementSets = measurementSets; }
public MeasurementSet(PlanFeatureId planFeatureId, Feature feature, int minimumPoints, int maximumPoints) { Id = new MeasurementSetId(); PlanFeatureId = planFeatureId; MinimumPoints = minimumPoints; MaximumPoints = maximumPoints; MeasurementSetKey = new MeasurementSetKey(feature, this); }