---
title: ITaskQueryProvider
summary: API reference for ITaskQueryProvider.
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data
reference_type: package
---

# ITaskQueryProvider

Contract implemented by `TaskQueryProvider`.

## Purpose
- Defines the members that `TaskQueryProvider` must provide to callers of this abstraction.

## Context
- Namespace: `SAIF.Data.Queries.Tasks`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| PolicyQueries | `IPolicyQueryProvider PolicyQueries { get; }` | Value of policy queries exposed by this type.* |
| ClaimQueries | `IClaimQueryProvider ClaimQueries { get; }` | Value of claim queries exposed by this type.* |
| ImagingQueries | `IImageQueryProvider ImagingQueries { get; }` | Value of imaging queries exposed by this type.* |
| GetSource | `TaskSource GetSource(string code)` | Retrieves source.* |
| GetAction | `TaskAction GetAction(string code)` | Retrieves action.* |
| GetPriroity | `TaskPriority GetPriroity(string code)` | Retrieves priroity.* |
| GetCategory | `TaskCategory GetCategory(string code)` | Retrieves category.* |
| GetTask | `Task GetTask(long taskId)` | Retrieves task.* |
| GetTasksForUser | `IEnumerable<Task> GetTasksForUser(string taskUser)` | Retrieves tasks for user.* |

## Behavioral notes
- As an interface, this type defines no executable behavior of its own; behavior is determined by its implementation(s).*

## Constraints and usage notes
- Callers should depend on this interface rather than the concrete implementation(s) (`TaskQueryProvider`) to preserve testability.*

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `Data/SAIF.Data/Queries/Tasks/ITaskQueryProvider.cs`
