|
|
@@ -84,7 +84,7 @@ namespace Util
|
|
|
foreach (string itemKey in item.Keys)
|
|
|
{
|
|
|
JsonData itemObj = item[itemKey];
|
|
|
- Console.WriteLine(itemKey + " => " + itemObj);
|
|
|
+ // Console.WriteLine(itemKey + " => " + itemObj);
|
|
|
if(itemObj != null)
|
|
|
{
|
|
|
if (itemObj.IsArray)
|
|
|
@@ -212,7 +212,7 @@ namespace Util
|
|
|
condition = condition.Replace("isEmpty", "string.IsNullOrEmpty");
|
|
|
condition = condition.Replace("True", "true");
|
|
|
condition = condition.Replace("False", "false");
|
|
|
- Console.WriteLine(condition);
|
|
|
+ // Console.WriteLine(condition);
|
|
|
bool result = await CSharpScript.EvaluateAsync<bool>(condition);
|
|
|
content = content.Replace(matchValue, result ? resultValue : elseValue);
|
|
|
}
|