Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class TTXmlWorkflowGenerator

Generate process scheme from TT template

Inheritance

↳ object

    ↳ TTXmlWorkflowGenerator

Implements

IWorkflowGenerator<XElement>

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Generator

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class TTXmlWorkflowGenerator : IWorkflowGenerator<XElement>

Methods

GenerateAsync(string, Guid, IDictionary<string, object>)

Generate not parsed process scheme

Declaration
public Task<XElement> GenerateAsync(string schemeCode, Guid schemeId, IDictionary<string, object> parameters)
Parameters
TypeNameDescription
stringschemeCodeCode of the scheme
GuidschemeIdId of the scheme
IDictionary<string, object>parametersParameters for creating scheme
Returns
TypeDescription
Task<XElement>Not parsed process scheme

AddMapping(string, object)

Adds relationship between code of the scheme and TT template type

Declaration
public void AddMapping(string schemeCode, object generatorSource)
Parameters
TypeNameDescription
stringschemeCodeCode of the scheme
objectgeneratorSourceTT template type

Fields

TemplateTypeMapping

Declaration
protected IDictionary<string, Type> TemplateTypeMapping
Returns
TypeDescription
IDictionary<string, Type>

Extension Methods