Beispiel #1
0
        public DefaultDmnDecisionContext(DefaultDmnEngineConfiguration configuration)
        {
            evaluationListeners = configuration.DecisionEvaluationListeners;

            evaluationHandlers = new Dictionary <Type, IDmnDecisionLogicEvaluationHandler>();
            evaluationHandlers[typeof(DmnDecisionTableImpl)]             = new DecisionTableEvaluationHandler(configuration);
            evaluationHandlers[typeof(DmnDecisionLiteralExpressionImpl)] =
                new DecisionLiteralExpressionEvaluationHandler(configuration);
        }
Beispiel #2
0
 public DefaultDmnEngine(DefaultDmnEngineConfiguration dmnEngineConfiguration)
 {
     this.dmnEngineConfiguration = dmnEngineConfiguration;
     transformer = dmnEngineConfiguration.Transformer;
 }