~ubuntu-branches/ubuntu/trusty/smuxi/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/db4o-net/Db4objects.Db4o.NativeQueries/Db4objects.Db4o.NativeQueries/Expr/Cmp/Operand/ThreeWayComparison.cs

  • Committer: Package Import Robot
  • Author(s): Mirco Bauer
  • Date: 2013-05-25 22:11:31 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130525221131-nd2mc0kzubuwyx20
Tags: 0.8.11-1
* [22d13d5] Imported Upstream version 0.8.11
* [6d2b95a] Refreshed patches
* [89eb66e] Added ServiceStack libraries to smuxi-engine package
* [848ab10] Enable Campfire engine
* [c6dbdc7] Always build db4o for predictable build result
* [13ec489] Exclude OS X specific libraries from dh_clideps

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2004 - 2009  Versant Inc.  http://www.db4o.com */
2
 
 
3
 
using Db4objects.Db4o.NativeQueries.Expr;
4
 
using Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand;
5
 
 
6
 
namespace Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand
7
 
{
8
 
        public class ThreeWayComparison : IExpressionPart
9
 
        {
10
 
                private FieldValue _left;
11
 
 
12
 
                private IComparisonOperand _right;
13
 
 
14
 
                private bool _swapped;
15
 
 
16
 
                public ThreeWayComparison(FieldValue left, IComparisonOperand right, bool swapped
17
 
                        )
18
 
                {
19
 
                        this._left = left;
20
 
                        this._right = right;
21
 
                        _swapped = swapped;
22
 
                }
23
 
 
24
 
                public virtual FieldValue Left()
25
 
                {
26
 
                        return _left;
27
 
                }
28
 
 
29
 
                public virtual IComparisonOperand Right()
30
 
                {
31
 
                        return _right;
32
 
                }
33
 
 
34
 
                public virtual bool Swapped()
35
 
                {
36
 
                        return _swapped;
37
 
                }
38
 
        }
39
 
}