IQueryHandler<T0,T1>.Eval

Declaration

public bool Eval(TData element);

Parameters

element A single object to be tested.

Returns

bool True if the object passes the query, false otherwise.

Description

Implement this function to evaluate the query on a single element.


Declaration

public IEnumerable<TData> Eval(TPayload payload);

Parameters

payload The input data of the query.

Returns

IEnumerable<TData> An enumerable of type TData.

Description

Implement this function to evaluate the query on a payload.


Did you find this page useful? Please give it a rating: