Class AbstractIfAttribute
public abstract class AbstractIfAttribute : PropertyAttribute
- Inheritance
-
AbstractIfAttribute
- Derived
-
- Extension Methods
-
Constructors
AbstractIfAttribute(string, object)
protected AbstractIfAttribute(string field, object comparisonValue)
Parameters
field
string
comparisonValue
object
AbstractIfAttribute(string, params object[])
protected AbstractIfAttribute(string field, params object[] comparisonValues)
Parameters
field
string
comparisonValues
object[]
Properties
ComparisonValues
public object[] ComparisonValues { get; }
Property Value
- object[]
Field
public string Field { get; }
Property Value
- string
Methods
HasValue(object)
public bool HasValue(object value)
Parameters
value
object
Returns
- bool