SetNestedQueryHandler<TNestedQueryData>(Func<string, string, IEnumerable<TNestedQueryData>>)
Sets the function that will handle nested queries. Only one handler can be set.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
SetNestedQueryHandler<T>(Func<string, string, IEnumerable<T>>)
public void SetNestedQueryHandler<TNestedQueryData>(Func<string, string, IEnumerable<TNestedQueryData>> handler)
Parameters
The function that handles nested queries. It receives the nested query and the filter token on which the query is applied, and returns an IEnumerable.
Remarks
\<typeparam name="TNestedQueryData"\>The type of data returned by the nested query.\</typeparam\>