Version: 2021.3
public bool Eval (TData element);

参数

element A single object to be tested.

返回

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

描述

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


public IEnumerable<TData> Eval (TPayload payload);

参数

payload The input data of the query.

返回

IEnumerable<TData> An enumerable of type TData.

描述

Implement this function to evaluate the query on a payload.