コード例 #1
0
 public ChangeVisuallyAttribute(ChangeTo to, string whenOtherPropertyName, DisplayChangeIf ifOperator, object value, bool conditionPassesIfNull)
 {
     To = to;
     WhenOtherPropertyName = whenOtherPropertyName;
     If = ifOperator;
     Value = value;
     ConditionPassesIfNull = conditionPassesIfNull;
 }
コード例 #2
0
 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;
 }