public ParameterConditionalCompareValue(Parameter compared, int compareTo, CompareType compareType) : base(compared, compareTo, WarningType.INVALID_PARAMETER) { this.compareType = compareType; this.description = compared.name + " must be " + compareType.GetDescription() + " " + compareTo; }
public void SetCompareType(CompareType compareType) { this.compareType = compareType; this.description = compared.name + " must be " + compareType.GetDescription() + " " + compareTo.name; }