Exemple #1
0
 public ConditionalHideAttribute(string conditionalEnumField, int enumValue, HideType hideType)
 {
     this.type = HideCondition.Enum;
     this.ConditionalSourceField = conditionalEnumField;
     this.enumValue = enumValue;
     this.hideType  = hideType;
 }
Exemple #2
0
 public ConditionalHideAttribute(string conditionalBoolField, HideType hideType)
 {
     this.type = HideCondition.Boolean;
     this.ConditionalSourceField = conditionalBoolField;
     this.hideType = hideType;
 }
Exemple #3
0
 public ConditionalHideAttribute(HideCondition conditionalType, HideType hideType)
 {
     this.type     = conditionalType;
     this.hideType = hideType;
 }