-
-
Save modulexcite/6e28a0c4de250ef56698 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ExecuteRules(data) | |
{ | |
(function Rule004596ed979540878bc366521663501d(data) | |
{ | |
var sw004596ed979540878bc366521663501d = new Stopwatch(); | |
sw004596ed979540878bc366521663501d.Start(); | |
var result004596ed979540878bc366521663501d = new Result(); | |
result004596ed979540878bc366521663501d.RuleId = Guid.Parse("004596ed-9795-4087-8bc3-66521663501d"); | |
try | |
{ | |
result004596ed979540878bc366521663501d.PassedCondition = (function Condition004596ed979540878bc366521663501d(data) | |
{ | |
return true; | |
})(data); | |
if (result004596ed979540878bc366521663501d.PassedCondition) | |
{ | |
result004596ed979540878bc366521663501d.Value = (function ActionResult004596ed979540878bc366521663501d(data) | |
{ | |
return JSON.stringify(true); | |
})(data); | |
result004596ed979540878bc366521663501d.Error = null; | |
} | |
} | |
catch (ex004596ed979540878bc366521663501d) | |
{ | |
result004596ed979540878bc366521663501d.Value = null; | |
result004596ed979540878bc366521663501d.Error = ex004596ed979540878bc366521663501d.name + ": " + ex004596ed979540878bc366521663501d.message; | |
} | |
sw004596ed979540878bc366521663501d.Stop(); | |
result004596ed979540878bc366521663501d.ExecutionTime = sw004596ed979540878bc366521663501d.ElapsedMilliseconds; | |
__results.Add(result004596ed979540878bc366521663501d); | |
})(data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment