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
Syntaxpublic class TTXmlWorkflowGenerator : IWorkflowGenerator<XElement>
Methods
GenerateAsync(string, Guid, IDictionary<string, object>)
Generate not parsed process scheme
Declarationpublic Task<XElement> GenerateAsync(string schemeCode, Guid schemeId, IDictionary<string, object> parameters)
Type | Name | Description |
---|---|---|
string | schemeCode | Code of the scheme |
Guid | schemeId | Id of the scheme |
IDictionary<string, object> | parameters | Parameters for creating scheme |
Type | Description |
---|---|
Task<XElement> | Not parsed process scheme |
AddMapping(string, object)
Adds relationship between code of the scheme and TT template type
Declarationpublic void AddMapping(string schemeCode, object generatorSource)
Type | Name | Description |
---|---|---|
string | schemeCode | Code of the scheme |
object | generatorSource | TT template type |
Fields
TemplateTypeMapping
Declarationprotected IDictionary<string, Type> TemplateTypeMapping
Type | Description |
---|---|
IDictionary<string, Type> |