Exemple #1
0
 /// <summary>
 /// Initializes a new <see cref="WorkflowActivityProcessor"/>
 /// </summary>
 /// <param name="loggerFactory">The service used to create <see cref="ILogger"/>s</param>
 /// <param name="context">The current <see cref="IWorkflowRuntimeContext"/></param>
 /// <param name="activityProcessorFactory">The service used to create <see cref="IWorkflowActivityProcessor"/>s</param>
 /// <param name="jsonSerializer">The service used to serialize/deserialize to/from JSON</param>
 /// <param name="options">The service used to access the current <see cref="ApplicationOptions"/></param>
 /// <param name="activity">The <see cref="V1WorkflowActivity"/> to process</param>
 /// <param name="state">The <see cref="ForEachStateDefinition"/> that defines the iteration to process</param>
 /// <param name="iterationIndex">The index of the iteration to process</param>
 public IterationProcessor(ILoggerFactory loggerFactory, IWorkflowRuntimeContext context, IWorkflowActivityProcessorFactory activityProcessorFactory,
                           IJsonSerializer jsonSerializer, IOptions <ApplicationOptions> options, V1WorkflowActivity activity, ForEachStateDefinition state, int iterationIndex)
     : base(loggerFactory, context, activityProcessorFactory, options, activity)
 {
     this.JsonSerializer = jsonSerializer;
     this.State          = state;
     this.IterationIndex = iterationIndex;
 }
Exemple #2
0
 protected ForEachNodeViewModel BuildForEachNode(ForEachStateDefinition forEachState)
 {
     return(new());
 }