Skip to content

Commit aca880b

Browse files
committed
fix
1 parent 5bafa07 commit aca880b

File tree

8 files changed

+443
-393
lines changed

8 files changed

+443
-393
lines changed

csharp/ToolGood.Algorithm/Internals/Functions/FunctionBase.cs

Lines changed: 40 additions & 40 deletions
Large diffs are not rendered by default.

csharp/ToolGood.Algorithm/Internals/Functions/FunctionBase.csharp.cs

Lines changed: 55 additions & 55 deletions
Large diffs are not rendered by default.

csharp/ToolGood.Algorithm/Internals/Functions/FunctionBase.flow.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public override Operand Calculate(AlgorithmEngine work)
255255
{
256256
var args1 = func1.Calculate(work);
257257
if (args1.IsNull) { return Operand.True; }
258-
if (args1.Type != OperandType.TEXT) { args1 = args1.ToText("Function 'IsNullOrEmpty' parameter {0} is error!",1); if (args1.IsError) { return args1; } }
258+
if (args1.Type != OperandType.TEXT) { args1 = args1.ToText("Function '{0}' parameter {1} is error!","IsNullOrEmpty",1); if (args1.IsError) { return args1; } }
259259
return Operand.Create(string.IsNullOrEmpty(args1.TextValue));
260260
}
261261
public override void ToString(StringBuilder stringBuilder, bool addBrackets)
@@ -274,7 +274,7 @@ public override Operand Calculate(AlgorithmEngine work)
274274
{
275275
var args1 = func1.Calculate(work);
276276
if (args1.IsNull) { return Operand.True; }
277-
if (args1.Type != OperandType.TEXT) { args1 = args1.ToText("Function 'IsNullOrWhiteSpace' parameter {0} is error!",1); if (args1.IsError) { return args1; } }
277+
if (args1.Type != OperandType.TEXT) { args1 = args1.ToText("Function '{0}' parameter {1} is error!","IsNullOrWhiteSpace",1); if (args1.IsError) { return args1; } }
278278
return Operand.Create(string.IsNullOrWhiteSpace(args1.TextValue));
279279
}
280280
public override void ToString(StringBuilder stringBuilder, bool addBrackets)

csharp/ToolGood.Algorithm/Internals/Functions/FunctionBase.math.cs

Lines changed: 69 additions & 69 deletions
Large diffs are not rendered by default.

csharp/ToolGood.Algorithm/Internals/Functions/FunctionBase.string.cs

Lines changed: 31 additions & 31 deletions
Large diffs are not rendered by default.

csharp/ToolGood.Algorithm/Internals/Functions/FunctionBase.sum.cs

Lines changed: 102 additions & 102 deletions
Large diffs are not rendered by default.

csharp/ToolGood.Algorithm/Internals/Functions/FunctionBase.time.cs

Lines changed: 56 additions & 56 deletions
Large diffs are not rendered by default.

csharp/ToolGood.Algorithm/Operand.cs

Lines changed: 88 additions & 38 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)