Class Query<TResult>
Provides a default implementation of of the IQuery<TResult> interface.
public abstract record Query<TResult> : Request, IEquatable<Request>, IQuery<TResult>, IQuery, IRequest, IMetadata, IEquatable<Query<TResult>>
Type Parameters
TResult
The type of the result to return.
- Inheritance
-
objectQuery<TResult>
- Implements
-
IQuery<TResult>IEquatable<Query<TResult>>
- Inherited Members
- Extension Methods
Constructors
Query(IMetadata)
Initializes a new instance of the Query<TResult> class.
protected Query(IMetadata metadata = null)
Parameters
metadata
IMetadataThe optional metadata to merge with this instance.