Assembly: OptimaJet.Workflow.Core

Interface IWorkflowGenerator<TSchemeMedium>

OptimaJet.Workflow.Core.Generator.IWorkflowGenerator<TSchemeMedium>

Defines a component that generates source process schemes to be parsed by IWorkflowParser<TSchemeMedium>.

public interface IWorkflowGenerator<TSchemeMedium> where TSchemeMedium : class

Type Hierarchy

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
schemeCode
String
The code of the process scheme to generate.
tenantId
String
The 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.