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