public ChangeVisuallyAttribute(ChangeTo to, string whenOtherPropertyName, DisplayChangeIf ifOperator, object value, bool conditionPassesIfNull) { To = to; WhenOtherPropertyName = whenOtherPropertyName; If = ifOperator; Value = value; ConditionPassesIfNull = conditionPassesIfNull; }
public ChangeVisuallyAttribute(ChangeTo to, string whenOtherPropertyName, DisplayChangeIf ifOperator, object value, bool conditionPassesIfNull, ComparisonValueType valueType = ComparisonValueType.String) { To = to; WhenOtherPropertyName = whenOtherPropertyName; If = ifOperator; Value = value; ConditionPassesIfNull = conditionPassesIfNull; ValueTypeToCompare = valueType; }