15 types derived from Literal
System.Workflow.Activities (15)
Rules\Literal.cs (15)
1344
internal class NullLiteral :
Literal
1614
internal class BoolLiteral :
Literal
1664
internal class ByteLiteral :
Literal
1951
internal class SByteLiteral :
Literal
2222
internal class CharLiteral :
Literal
2508
internal class DecimalLiteral :
Literal
2754
internal class ShortLiteral :
Literal
3024
internal class IntLiteral :
Literal
3310
internal class LongLiteral :
Literal
3596
internal class UShortLiteral :
Literal
3882
internal class UIntLiteral :
Literal
4168
internal class ULongLiteral :
Literal
4422
internal class DoubleLiteral :
Literal
4688
internal class FloatLiteral :
Literal
4954
internal class StringLiteral :
Literal
150 references to Literal
System.Workflow.Activities (150)
Rules\ArithmeticLiteral.cs (1)
328
MethodInfo opOverload =
Literal
.MapOperatorToMethod(operation, lhs, lhsExpression, rhs, rhsExpression, validator, out error);
Rules\Expressions.cs (15)
284
resultExprInfo =
Literal
.AllowedComparison(lhsType, binaryExpr.Left, rhsType, binaryExpr.Right, binaryExpr.Operator, validation, out error);
305
resultExprInfo =
Literal
.AllowedComparison(lhsType, binaryExpr.Left, rhsType, binaryExpr.Right, binaryExpr.Operator, validation, out error);
491
if (methodInfo ==
Literal
.ObjectEquality)
515
Literal
leftLiteral;
516
Literal
rightLiteral;
582
leftLiteral =
Literal
.MakeLiteral(lhsType, lhsValue);
585
rightLiteral =
Literal
.MakeLiteral(rhsType, rhsValue);
595
leftLiteral =
Literal
.MakeLiteral(lhsType, lhsValue);
598
rightLiteral =
Literal
.MakeLiteral(rhsType, rhsValue);
603
leftLiteral =
Literal
.MakeLiteral(lhsType, lhsValue);
606
rightLiteral =
Literal
.MakeLiteral(rhsType, rhsValue);
611
leftLiteral =
Literal
.MakeLiteral(lhsType, lhsValue);
614
rightLiteral =
Literal
.MakeLiteral(rhsType, rhsValue);
619
leftLiteral =
Literal
.MakeLiteral(lhsType, lhsValue);
622
rightLiteral =
Literal
.MakeLiteral(rhsType, rhsValue);
Rules\Literal.cs (123)
28
private delegate
Literal
LiteralMaker(object literalValue);
69
dictionary.Add(typeof(byte), new LiteralMaker(
Literal
.MakeByte));
70
dictionary.Add(typeof(sbyte), new LiteralMaker(
Literal
.MakeSByte));
71
dictionary.Add(typeof(short), new LiteralMaker(
Literal
.MakeShort));
72
dictionary.Add(typeof(int), new LiteralMaker(
Literal
.MakeInt));
73
dictionary.Add(typeof(long), new LiteralMaker(
Literal
.MakeLong));
74
dictionary.Add(typeof(ushort), new LiteralMaker(
Literal
.MakeUShort));
75
dictionary.Add(typeof(uint), new LiteralMaker(
Literal
.MakeUInt));
76
dictionary.Add(typeof(ulong), new LiteralMaker(
Literal
.MakeULong));
77
dictionary.Add(typeof(float), new LiteralMaker(
Literal
.MakeFloat));
78
dictionary.Add(typeof(double), new LiteralMaker(
Literal
.MakeDouble));
79
dictionary.Add(typeof(char), new LiteralMaker(
Literal
.MakeChar));
80
dictionary.Add(typeof(string), new LiteralMaker(
Literal
.MakeString));
81
dictionary.Add(typeof(decimal), new LiteralMaker(
Literal
.MakeDecimal));
82
dictionary.Add(typeof(bool), new LiteralMaker(
Literal
.MakeBool));
83
dictionary.Add(typeof(byte?), new LiteralMaker(
Literal
.MakeByte));
84
dictionary.Add(typeof(sbyte?), new LiteralMaker(
Literal
.MakeSByte));
85
dictionary.Add(typeof(short?), new LiteralMaker(
Literal
.MakeShort));
86
dictionary.Add(typeof(int?), new LiteralMaker(
Literal
.MakeInt));
87
dictionary.Add(typeof(long?), new LiteralMaker(
Literal
.MakeLong));
88
dictionary.Add(typeof(ushort?), new LiteralMaker(
Literal
.MakeUShort));
89
dictionary.Add(typeof(uint?), new LiteralMaker(
Literal
.MakeUInt));
90
dictionary.Add(typeof(ulong?), new LiteralMaker(
Literal
.MakeULong));
91
dictionary.Add(typeof(float?), new LiteralMaker(
Literal
.MakeFloat));
92
dictionary.Add(typeof(double?), new LiteralMaker(
Literal
.MakeDouble));
93
dictionary.Add(typeof(char?), new LiteralMaker(
Literal
.MakeChar));
94
dictionary.Add(typeof(decimal?), new LiteralMaker(
Literal
.MakeDecimal));
95
dictionary.Add(typeof(bool?), new LiteralMaker(
Literal
.MakeBool));
135
internal static
Literal
MakeLiteral(Type literalType, object literalValue)
168
private static
Literal
MakeBool(object literalValue)
178
private static
Literal
MakeByte(object literalValue)
188
private static
Literal
MakeSByte(object literalValue)
198
private static
Literal
MakeChar(object literalValue)
208
private static
Literal
MakeDecimal(object literalValue)
218
private static
Literal
MakeShort(object literalValue)
228
private static
Literal
MakeInt(object literalValue)
238
private static
Literal
MakeLong(object literalValue)
248
private static
Literal
MakeUShort(object literalValue)
258
private static
Literal
MakeUInt(object literalValue)
268
private static
Literal
MakeULong(object literalValue)
278
private static
Literal
MakeFloat(object literalValue)
288
private static
Literal
MakeDouble(object literalValue)
298
private static
Literal
MakeString(object literalValue)
955
internal abstract bool Equal(
Literal
rhs);
1018
internal abstract bool LessThan(
Literal
rhs);
1099
internal abstract bool GreaterThan(
Literal
rhs);
1180
internal abstract bool LessThanOrEqual(
Literal
rhs);
1261
internal abstract bool GreaterThanOrEqual(
Literal
rhs);
1360
internal override bool Equal(
Literal
rhs)
1365
internal override bool LessThan(
Literal
rhs)
1423
internal override bool GreaterThan(
Literal
rhs)
1485
internal override bool LessThanOrEqual(
Literal
rhs)
1547
internal override bool GreaterThanOrEqual(
Literal
rhs)
1629
internal override bool Equal(
Literal
rhs)
1638
internal override bool LessThan(
Literal
rhs)
1643
internal override bool GreaterThan(
Literal
rhs)
1648
internal override bool LessThanOrEqual(
Literal
rhs)
1653
internal override bool GreaterThanOrEqual(
Literal
rhs)
1679
internal override bool Equal(
Literal
rhs)
1732
internal override bool LessThan(
Literal
rhs)
1785
internal override bool GreaterThan(
Literal
rhs)
1838
internal override bool LessThanOrEqual(
Literal
rhs)
1891
internal override bool GreaterThanOrEqual(
Literal
rhs)
1966
internal override bool Equal(
Literal
rhs)
2019
internal override bool LessThan(
Literal
rhs)
2068
internal override bool GreaterThan(
Literal
rhs)
2117
internal override bool LessThanOrEqual(
Literal
rhs)
2166
internal override bool GreaterThanOrEqual(
Literal
rhs)
2237
internal override bool Equal(
Literal
rhs)
2290
internal override bool LessThan(
Literal
rhs)
2343
internal override bool GreaterThan(
Literal
rhs)
2396
internal override bool LessThanOrEqual(
Literal
rhs)
2449
internal override bool GreaterThanOrEqual(
Literal
rhs)
2523
internal override bool Equal(
Literal
rhs)
2568
internal override bool LessThan(
Literal
rhs)
2613
internal override bool GreaterThan(
Literal
rhs)
2658
internal override bool LessThanOrEqual(
Literal
rhs)
2703
internal override bool GreaterThanOrEqual(
Literal
rhs)
2769
internal override bool Equal(
Literal
rhs)
2822
internal override bool LessThan(
Literal
rhs)
2871
internal override bool GreaterThan(
Literal
rhs)
2920
internal override bool LessThanOrEqual(
Literal
rhs)
2969
internal override bool GreaterThanOrEqual(
Literal
rhs)
3039
internal override bool Equal(
Literal
rhs)
3092
internal override bool LessThan(
Literal
rhs)
3145
internal override bool GreaterThan(
Literal
rhs)
3198
internal override bool LessThanOrEqual(
Literal
rhs)
3251
internal override bool GreaterThanOrEqual(
Literal
rhs)
3325
internal override bool Equal(
Literal
rhs)
3378
internal override bool LessThan(
Literal
rhs)
3431
internal override bool GreaterThan(
Literal
rhs)
3484
internal override bool LessThanOrEqual(
Literal
rhs)
3537
internal override bool GreaterThanOrEqual(
Literal
rhs)
3611
internal override bool Equal(
Literal
rhs)
3664
internal override bool LessThan(
Literal
rhs)
3717
internal override bool GreaterThan(
Literal
rhs)
3770
internal override bool LessThanOrEqual(
Literal
rhs)
3823
internal override bool GreaterThanOrEqual(
Literal
rhs)
3897
internal override bool Equal(
Literal
rhs)
3950
internal override bool LessThan(
Literal
rhs)
4003
internal override bool GreaterThan(
Literal
rhs)
4056
internal override bool LessThanOrEqual(
Literal
rhs)
4109
internal override bool GreaterThanOrEqual(
Literal
rhs)
4183
internal override bool Equal(
Literal
rhs)
4236
internal override bool LessThan(
Literal
rhs)
4281
internal override bool GreaterThan(
Literal
rhs)
4326
internal override bool LessThanOrEqual(
Literal
rhs)
4371
internal override bool GreaterThanOrEqual(
Literal
rhs)
4437
internal override bool Equal(
Literal
rhs)
4486
internal override bool LessThan(
Literal
rhs)
4535
internal override bool GreaterThan(
Literal
rhs)
4584
internal override bool LessThanOrEqual(
Literal
rhs)
4633
internal override bool GreaterThanOrEqual(
Literal
rhs)
4703
internal override bool Equal(
Literal
rhs)
4752
internal override bool LessThan(
Literal
rhs)
4801
internal override bool GreaterThan(
Literal
rhs)
4850
internal override bool LessThanOrEqual(
Literal
rhs)
4899
internal override bool GreaterThanOrEqual(
Literal
rhs)
4969
internal override bool Equal(
Literal
rhs)
4978
internal override bool LessThan(
Literal
rhs)
4987
internal override bool GreaterThan(
Literal
rhs)
5000
internal override bool LessThanOrEqual(
Literal
rhs)
5009
internal override bool GreaterThanOrEqual(
Literal
rhs)
Rules\RuleValidation.cs (11)
688
Literal
leftLiteral, rightLiteral;
724
leftLiteral =
Literal
.MakeLiteral(lhsRootType, parameters[0]);
725
rightLiteral =
Literal
.MakeLiteral(rhsRootType, parameters[1]);
728
leftLiteral =
Literal
.MakeLiteral(lhsRootType, parameters[0]);
729
rightLiteral =
Literal
.MakeLiteral(rhsRootType, parameters[1]);
732
leftLiteral =
Literal
.MakeLiteral(lhsRootType, parameters[0]);
733
rightLiteral =
Literal
.MakeLiteral(rhsRootType, parameters[1]);
736
leftLiteral =
Literal
.MakeLiteral(lhsRootType, parameters[0]);
737
rightLiteral =
Literal
.MakeLiteral(rhsRootType, parameters[1]);
740
leftLiteral =
Literal
.MakeLiteral(lhsRootType, parameters[0]);
741
rightLiteral =
Literal
.MakeLiteral(rhsRootType, parameters[1]);