Workflow Engine .NET  2
Public Member Functions | Protected Attributes | List of all members
OptimaJet.Workflow.Core.Generator.TTXmlWorkflowGenerator Class Reference

Generate process scheme from TT template More...

Inheritance diagram for OptimaJet.Workflow.Core.Generator.TTXmlWorkflowGenerator:
OptimaJet.Workflow.Core.Generator.IWorkflowGenerator< XElement >

Public Member Functions

XElement Generate (string schemeCode, Guid schemeId, IDictionary< string, object > parameters)
 Generate not parsed process scheme More...
 
void AddMapping (string schemeCode, object generatorSource)
 Adds relationship between code of the scheme and TT template type More...
 
- Public Member Functions inherited from OptimaJet.Workflow.Core.Generator.IWorkflowGenerator< XElement >
TSchemeMedium Generate (string schemeCode, Guid schemeId, IDictionary< string, object > parameters)
 Generate not parsed process scheme More...
 

Protected Attributes

IDictionary< string, Type > TemplateTypeMapping = new Dictionary<string, Type>()
 

Detailed Description

Generate process scheme from TT template

Member Function Documentation

◆ AddMapping()

void OptimaJet.Workflow.Core.Generator.TTXmlWorkflowGenerator.AddMapping ( string  schemeCode,
object  generatorSource 
)

Adds relationship between code of the scheme and TT template type

Parameters
schemeCodeCode of the scheme
generatorSourceTT template type

◆ Generate()

XElement OptimaJet.Workflow.Core.Generator.TTXmlWorkflowGenerator.Generate ( string  schemeCode,
Guid  schemeId,
IDictionary< string, object >  parameters 
)

Generate not parsed process scheme

Parameters
schemeCodeCode of the scheme
schemeIdId of the scheme
parametersParameters for creating scheme
Returns
Not parsed process scheme