Class QueryRenderers
- Namespace
- Cratis.Arc.Queries
- Assembly
- Cratis.Arc.Core.dll
Represents an implementation of IQueryRenderers.
public class QueryRenderers : IQueryRenderers
- Inheritance
-
QueryRenderers
- Implements
- Inherited Members
- Extension Methods
Constructors
QueryRenderers(IQueryContextManager, ICorrelationIdAccessor, ITypes)
Represents an implementation of IQueryRenderers.
public QueryRenderers(IQueryContextManager queryContextManager, ICorrelationIdAccessor correlationIdAccessor, ITypes types)
Parameters
queryContextManagerIQueryContextManagerIQueryContextManager for managing query contexts.
correlationIdAccessorICorrelationIdAccessorICorrelationIdAccessor for getting the current correlation ID.
typesITypesITypes for type discovery.
Methods
Render(FullyQualifiedQueryName, object, IServiceProvider)
Render a query.
public QueryRendererResult Render(FullyQualifiedQueryName queryName, object query, IServiceProvider serviceProvider)
Parameters
queryNameFullyQualifiedQueryNameName of the query.
queryobjectQuery to render.
serviceProviderIServiceProviderThe IServiceProvider scoped to the current request, used to resolve query renderer dependencies.
Returns
- QueryRendererResult
Result.