Example #1
0
 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);
 }
Example #3
0
 public DefaultDmnEngine(DefaultDmnEngineConfiguration dmnEngineConfiguration)
 {
     this.dmnEngineConfiguration = dmnEngineConfiguration;
     transformer = dmnEngineConfiguration.Transformer;
 }
Example #4
0
 public virtual IDmnTransform createTransform(IDmnTransformer transformer)
 {
     //throw new NotImplementedException();
     return(new DefaultDmnTransform(transformer));
 }