public SubscriptionConstraintGenerator(SubscriptionField field, int randomCount) { Field = field; var frequencyMinPercent = field.FieldFrequencyMinPercent ?? 100; RandomValueWithTarget = new RandomValueWithTarget(frequencyMinPercent, randomCount); var newRandomCount = RandomValueWithTarget.GetRandomTargetCount(); RandomOperator = field.GetRandomOperator(newRandomCount); RandomValue = field.GetRandomValue(newRandomCount); }