Table of Contents

Class QueryPerformerProviders

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

Represents an implementation of IQueryPerformerProviders.

public class QueryPerformerProviders : IQueryPerformerProviders
Inheritance
QueryPerformerProviders
Implements
Inherited Members
Extension Methods

Constructors

QueryPerformerProviders(IInstancesOf<IQueryPerformerProvider>)

Initializes a new instance of the QueryPerformerProviders class.

public QueryPerformerProviders(IInstancesOf<IQueryPerformerProvider> providers)

Parameters

providers IInstancesOf<IQueryPerformerProvider>

Instances of IQueryPerformerProvider to use for providing query performers.

Properties

Performers

Gets the collection of query performers.

public IEnumerable<IQueryPerformer> Performers { get; }

Property Value

IEnumerable<IQueryPerformer>

Methods

TryGetPerformersFor(FullyQualifiedQueryName, out IQueryPerformer?)

Tries to get a performer for the given query.

public bool TryGetPerformersFor(FullyQualifiedQueryName query, out IQueryPerformer? performer)

Parameters

query FullyQualifiedQueryName

Query to render.

performer IQueryPerformer

Performer for the query, if found.

Returns

bool

True if a performer was found; otherwise, false.