void AddNewVariant(Option option) { if (option.Variance == OptionVariance.Single) { throw new Exception("Option is not variant."); } var parameter = FindUniqueVariantName(option); option.AddVariant(parameter); Option.changed = true; }
void AddNewVariant(Option option) { if (option.Variance == OptionVariance.Single) { throw new Exception("Option is not variant."); } var parameter = FindUniqueVariantName(option); option.AddVariant(parameter); Option.changed = true; }