public EnumFilterAttribute(string propertyName, EnumFilterMode filterMode, string criteria, params object[] values) { PropertyName = propertyName; FilterMode = filterMode; Criteria = criteria; Values = values; }
public EnumFilterAttribute(string propertyName, EnumFilterMode filterMode, params object[] values) : this(propertyName, filterMode, null, values) { PropertyName = propertyName; Values = values; }