Table of Contents

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

expression Expression<Func<T, TProperty>>

The expression representing the property.

Returns

bool

true if the property is ignored; otherwise, false.

Type Parameters

TProperty

The type of the property.

IsPropertyIgnored(string)

Determines whether the specified property is ignored during validation.

protected bool IsPropertyIgnored(string name)

Parameters

name string

The name of the property.

Returns

bool

true if the property is ignored; otherwise, false.