protected internal virtual IList <DmnDecisionEvaluationListener> createCustomPostDecisionEvaluationListeners() { ensureNotNull("dmnHistoryEventProducer", dmnHistoryEventProducer_Renamed); // note that the history level may be null - see CAM-5165 HistoryDecisionEvaluationListener historyDecisionEvaluationListener = new HistoryDecisionEvaluationListener(dmnHistoryEventProducer_Renamed, historyLevel_Renamed); IList <DmnDecisionEvaluationListener> customPostDecisionEvaluationListeners = dmnEngineConfiguration.CustomPostDecisionEvaluationListeners; customPostDecisionEvaluationListeners.Add(new MetricsDecisionEvaluationListener()); customPostDecisionEvaluationListeners.Add(historyDecisionEvaluationListener); return(customPostDecisionEvaluationListeners); }
protected internal virtual IList <IDmnDecisionEvaluationListener> CreateCustomPostDecisionEvaluationListeners() { EnsureUtil.EnsureNotNull("dmnHistoryEventProducer", DmnHistoryEventProducerRenamed); // note that the history level may be null - see CAM-5165 var historyDecisionEvaluationListener = new HistoryDecisionEvaluationListener(DmnHistoryEventProducerRenamed, HistoryLevelRenamed); //TODO Dmn自定义Listener var customPostDecisionEvaluationListeners = DmnEngineConfiguration.CustomPostDecisionEvaluationListeners; customPostDecisionEvaluationListeners.Add(new MetricsDecisionEvaluationListener()); customPostDecisionEvaluationListeners.Add(historyDecisionEvaluationListener); return(customPostDecisionEvaluationListeners); }