Class QueryPerformerProviders
- Namespace
- Cratis.Arc.Queries
- Assembly
- Cratis.Arc.Core.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
providersIInstancesOf<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
Methods
TryGetPerformersFor(FullyQualifiedQueryName, out IQueryPerformer?)
Tries to get a performer for the given query.
public bool TryGetPerformersFor(FullyQualifiedQueryName query, out IQueryPerformer? performer)
Parameters
queryFullyQualifiedQueryNameQuery to render.
performerIQueryPerformerPerformer for the query, if found.
Returns
- bool
True if a performer was found; otherwise, false.