public DefaultDmnTransform(IDmnTransformer transformer) { this.transformer = transformer; transformListeners = transformer.TransformListeners; handlerRegistry = transformer.ElementTransformHandlerRegistry; dataTypeTransformerRegistry = transformer.DataTypeTransformerRegistry; hitPolicyHandlerRegistry = transformer.HitPolicyHandlerRegistry; }
/// <summary> /// Set the DMN transformer used to transform the DMN model. /// </summary> /// <param name="transformer"> the DMN transformer </param> /// <returns> this </returns> public virtual DefaultDmnEngineConfiguration transformer(IDmnTransformer transformer) { Transformer = transformer; return(this); }
public DefaultDmnEngine(DefaultDmnEngineConfiguration dmnEngineConfiguration) { this.dmnEngineConfiguration = dmnEngineConfiguration; transformer = dmnEngineConfiguration.Transformer; }
public virtual IDmnTransform createTransform(IDmnTransformer transformer) { //throw new NotImplementedException(); return(new DefaultDmnTransform(transformer)); }