comparison Source/Data/Linq/Builder/IsExpressionResult.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 using System;
2
3 namespace BLToolkit.Data.Linq.Builder
4 {
5 public struct IsExpressionResult
6 {
7 public readonly bool Result;
8 public readonly IBuildContext Context;
9
10 public IsExpressionResult(bool result)
11 {
12 Result = result;
13 Context = null;
14 }
15
16 public IsExpressionResult(bool result, IBuildContext context)
17 {
18 Result = result;
19 Context = context;
20 }
21
22 public static IsExpressionResult True = new IsExpressionResult(true);
23 public static IsExpressionResult False = new IsExpressionResult(false);
24 }
25 }