protected internal virtual void NotifyTransformListeners(IOutput output, DmnDecisionTableOutputImpl dmnOutput) { foreach (var transformListener in transformListeners) { transformListener.transformDecisionTableOutput(output, dmnOutput); } }
public DmnEvaluatedOutputImpl(DmnDecisionTableOutputImpl decisionTableOutput, ITypedValue value) { id = decisionTableOutput.Id; name = decisionTableOutput.Name; outputName = decisionTableOutput.OutputName; this.value = value; }
public virtual DmnTransformException DecisionTableOutputIdIsMissing(IDmnDecision dmnDecision, DmnDecisionTableOutputImpl dmnDecisionTableOutput) { return (new DmnTransformException(ExceptionMessage("012", string.Format("The decision table output '{0}' of decision '{1}' must have a 'id' attribute set.", dmnDecisionTableOutput, dmnDecision)))); }
public virtual DmnTransformException CompoundOutputWithDuplicateName(DmnDecisionTableImpl dmnDecisionTable, DmnDecisionTableOutputImpl dmnOutput) { return (new DmnTransformException(ExceptionMessage("009", string.Format( "The decision table '{0}' has a compound output but name of output '{1}' is duplicate.", dmnDecisionTable, dmnOutput)))); }
public virtual DmnTransformException CompoundOutputsShouldHaveAnOutputName( DmnDecisionTableImpl dmnDecisionTable, DmnDecisionTableOutputImpl dmnOutput) { return (new DmnTransformException(ExceptionMessage("008", string.Format( "The decision table '{0}' has a compound output but output '{1}' does not have an output name.", dmnDecisionTable, dmnOutput)))); }