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 : namespace Cqrs.Repositories.Queries
10 : {
11 : /// <summary>
12 : /// An <see cref="IQueryPredicate"/> where either the <see cref="LeftQueryPredicate"/> or the <see cref="RightQueryPredicate"/> must evaluate to true.
13 : /// </summary>
14 : public class OrQueryPredicate : IAndQueryPredicate
15 1 : {
16 : #region Implementation of IOrQueryPredicate
17 :
18 : /// <summary>
19 : /// The left side <see cref="IQueryPredicate"/>.
20 : /// </summary>
21 : public IQueryPredicate LeftQueryPredicate { get; internal set; }
22 :
23 : /// <summary>
24 : /// The right side <see cref="IQueryPredicate"/>.
25 : /// </summary>
26 : public IQueryPredicate RightQueryPredicate { get; internal set; }
27 :
28 : #endregion
29 : }
30 : }
|