forked from optimajet/WorkflowEngine.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIWorkflowGenerator.cs
More file actions
22 lines (21 loc) · 925 Bytes
/
IWorkflowGenerator.cs
File metadata and controls
22 lines (21 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using System.Collections.Generic;
using OptimaJet.Workflow.Core.Model;
namespace OptimaJet.Workflow.Core.Generator
{
/// <summary>
/// Interface of a workflow generator, which generate not parsed process scheme <see cref="SchemeDefinition{T}"/>
/// </summary>
/// <typeparam name="TSchemeMedium">Type of not parsed scheme</typeparam>
public interface IWorkflowGenerator<out TSchemeMedium> where TSchemeMedium : class
{
/// <summary>
/// Generate not parsed process scheme
/// </summary>
/// <param name="schemeCode">Code of the scheme</param>
/// <param name="schemeId">Id of the scheme</param>
/// <param name="parameters">Parameters for creating scheme</param>
/// <returns>Not parsed process scheme</returns>
TSchemeMedium Generate(string schemeCode, Guid schemeId, IDictionary<string, object> parameters);
}
}