Interface IWorkflowGenerator<TSchemeMedium>
OptimaJet.Workflow.Core.Generator.IWorkflowGenerator<TSchemeMedium>
Defines a component that generates source process schemes to be parsed by IWorkflowParser<TSchemeMedium>.
Namespace: OptimaJet.Workflow.Core.Generator
public interface IWorkflowGenerator<TSchemeMedium> where TSchemeMedium : classType Hierarchy
- IWorkflowGenerator<TSchemeMedium> Current type
Methods
Task<TSchemeMedium> GenerateAsync(string schemeCode, string tenantId = null) #Asynchronously generates the source process scheme identified by
schemeCode in the tenant scope specified by tenantId.Parameters
Name
Type
Description
schemeCodeStringThe code of the process scheme to generate.
tenantIdStringThe tenant identifier that scopes generation, or null for generation without a tenant scope.
Returns
Type
Description
Task<TSchemeMedium>A Task<TResult> whose result is the generated source process scheme.