0
|
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 }
|