In Method
In(string, params object[])
Succeeds if the target value is equal to one of the specified values.
Declaration
public static IPredicate In(string name, params object[] values)
Parameters
string | name | The name of the target. |
object[] | values | The values. |
Returns
IPredicate | A new predicate. |
In<T>(string, IEnumerable<T>)
Succeeds if the target value is equal to one of the specified values.
Declaration
public static IPredicate In<T>(string name, IEnumerable<T> values)
Parameters
string | name | The name of the target. |
IEnumerable<T> | values | The values. |
Returns
IPredicate | A new predicate. |
Type Parameters
T |