Table of Contents

Class QueryRenderers

Namespace
Cratis.Applications.Queries
Assembly
Cratis.Applications.dll

Represents an implementation of IQueryRenderers.

public class QueryRenderers : IQueryRenderers
Inheritance
QueryRenderers
Implements
Inherited Members
Extension Methods

Constructors

QueryRenderers(IQueryContextManager, ICorrelationIdAccessor, ITypes, IServiceProvider)

Represents an implementation of IQueryRenderers.

public QueryRenderers(IQueryContextManager queryContextManager, ICorrelationIdAccessor correlationIdAccessor, ITypes types, IServiceProvider serviceProvider)

Parameters

queryContextManager IQueryContextManager

IQueryContextManager for managing query contexts.

correlationIdAccessor ICorrelationIdAccessor

ICorrelationIdAccessor for getting the current correlation ID.

types ITypes

ITypes for type discovery.

serviceProvider IServiceProvider

IServiceProvider for getting instances of query providers.

Methods

Render(FullyQualifiedQueryName, object)

Render a query.

public QueryRendererResult Render(FullyQualifiedQueryName queryName, object query)

Parameters

queryName FullyQualifiedQueryName

Name of the query.

query object

Query to render.

Returns

QueryRendererResult

Result.