# IQuerySource

> The source of block is usually the query builder for a given search view.

## Definition

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

```csharp
public interface IQuerySource
```

## Properties

| Property                                                                                    | Description                                        |
| ------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [context](/engine/6000.5/script-reference/unityeditor/search/iquerysource/context.md)       | Search context of the query source.                |
| [searchView](/engine/6000.5/script-reference/unityeditor/search/iquerysource/searchview.md) | Search view in which the query block is displayed. |

## Methods

| Method                                                                                | Description                                         |
| ------------------------------------------------------------------------------------- | --------------------------------------------------- |
| [Apply](/engine/6000.5/script-reference/unityeditor/search/iquerysource/apply.md)     | Apply any changes to the block to the source.       |
| [Repaint](/engine/6000.5/script-reference/unityeditor/search/iquerysource/repaint.md) | Indicates that the query block should be repainted. |
