Line data Source code
1 : #region Copyright
2 : // // -----------------------------------------------------------------------
3 : // // <copyright company="Chinchilla Software Limited">
4 : // // Copyright Chinchilla Software Limited. All rights reserved.
5 : // // </copyright>
6 : // // -----------------------------------------------------------------------
7 : #endregion
8 :
9 : using System;
10 :
11 : namespace Cqrs.Repositories.Queries
12 : {
13 : /// <summary>
14 : /// A query that will produce a result that is a single <typeparamref name="TData"/> item.
15 : /// </summary>
16 : /// <typeparam name="TQueryStrategy">The <see cref="Type"/> of the <see cref="IQueryStrategy"/>.</typeparam>
17 : /// <typeparam name="TData">The <see cref="Type"/> of result data.</typeparam>
18 : public class SingleResultQuery<TQueryStrategy, TData>
19 : : ResultQuery<TQueryStrategy, TData>
20 : , ISingleResultQuery<TQueryStrategy, TData>
21 : where TQueryStrategy : IQueryStrategy
22 1 : {
23 : }
24 : }
|