# IQueryHandlerFactory<TData, TQueryHandler, TPayload>

> Interface for query handler factories.

## Definition

* **Type:** Interface
* **Namespace:** [UnityEditor.Search](/engine/6000.6/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public interface IQueryHandlerFactory<TData, out TQueryHandler, TPayload> where TQueryHandler : IQueryHandler<TData, TPayload> where TPayload : class
```

## Methods

| Method                                                                                       | Description                                                                       |
| -------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [Create](/engine/6000.6/script-reference/unityeditor/search/iqueryhandlerfactory3/create.md) | Implement this function to create a new query handler for a specific query graph. |
