Method IsPropertyIgnored
- Namespace
- Innova.Data.Validation
- Assembly
- Innova.Data.dll
IsPropertyIgnored<TProperty>(Expression<Func<T, TProperty>>)
Determines whether the specified property is ignored during validation.
protected bool IsPropertyIgnored<TProperty>(Expression<Func<T, TProperty>> expression)
Parameters
expressionExpression<Func<T, TProperty>>The expression representing the property.
Returns
- bool
trueif the property is ignored; otherwise,false.
Type Parameters
TPropertyThe type of the property.
IsPropertyIgnored(string)
Determines whether the specified property is ignored during validation.
protected bool IsPropertyIgnored(string name)
Parameters
namestringThe name of the property.
Returns
- bool
trueif the property is ignored; otherwise,false.