Show / Hide Table of Contents

Interface ICompiledElementFactory<T_CompiledElement>

This interface describes the functions an ICompiledElementFactory<T_CompiledElement> must perform. An ICompiledElementFactory<T_CompiledElement> derived class will contain static methods capable of parsing a list of DecisionModelElements into a dependency resolved normalized list of CompiledElementBases.

Each ICompiledElementFactory<T_CompiledElement> derived class is only responsible for a single DecisionModelElement type, and will only return CompiledElementBase forms of the DecisionModelElement type it is responsible for.

This allows all generalizable compilation steps to be performed by these factories, and all language specific compilation steps to be performed by the respective ICompiler.

Namespace: Quantellia.WMServer.Execution.Compilation
Assembly: WMServer.dll
Syntax
public interface ICompiledElementFactory<T_CompiledElement> where T_CompiledElement : CompiledElementBase
Type Parameters
Name Description
T_CompiledElement

Methods

NormalizeElements(IEnumerable<DecisionModelElement>, Syntax)

Given a list of DecisionModelElements, this factory will resolve dependencies and convert all valid elements to a normalized CompiledElementBase format.

Declaration
public static abstract List<T_CompiledElement> NormalizeElements(IEnumerable<DecisionModelElement> elements, CompiledElementBase.Syntax syntax)
Parameters
Type Name Description
IEnumerable<DecisionModelElement> elements

The elements to parse.

CompiledElementBase.Syntax syntax

The syntax to normalize against.

Returns
Type Description
List<T_CompiledElement>
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 11/16/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE