示例#1
0
 public virtual object mapDecisionResult(DmnDecisionResult decisionResult)
 {
     try
     {
         DmnDecisionResultEntries singleResult = decisionResult.SingleResult;
         if (singleResult != null)
         {
             return(singleResult.EntryMap);
         }
         else
         {
             return(Variables.untypedNullValue());
         }
     }
     catch (DmnEngineException e)
     {
         throw LOG.decisionResultMappingException(decisionResult, this, e);
     }
 }
示例#2
0
 public virtual object mapDecisionResult(DmnDecisionResult decisionResult)
 {
     try
     {
         TypedValue typedValue = decisionResult.SingleEntryTyped;
         if (typedValue != null)
         {
             return(typedValue);
         }
         else
         {
             return(Variables.untypedNullValue());
         }
     }
     catch (DmnEngineException e)
     {
         throw LOG.decisionResultMappingException(decisionResult, this, e);
     }
 }