Table of Contents

Interface IFlowInstanceProvider

Namespace
CMS.Plugin.FlowManagement.Abstractions
Assembly
CMS.Plugin.FlowManagement.Abstractions.dll

流程实例提供程序

public interface IFlowInstanceProvider

Methods

InitAsync(IServiceProvider)

Initializes the asynchronous.

Task<List<FlowProcessor>> InitAsync(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

The service provider.

Returns

Task<List<FlowProcessor>>

OnEnterAsync(FlowProcessor, object, EventArgs)

Called when [enter asynchronous].

Task OnEnterAsync(FlowProcessor flowProcessor, object sender, EventArgs args)

Parameters

flowProcessor FlowProcessor
sender object

The sender.

args EventArgs

The SYC.Flow.Kernel.ProcessflowEventArgs instance containing the event data.

Returns

Task

OnExecuteAsync(FlowProcessor, object, EventArgs)

Called when [execute asynchronous].

Task OnExecuteAsync(FlowProcessor flowProcessor, object sender, EventArgs args)

Parameters

flowProcessor FlowProcessor
sender object

The sender.

args EventArgs

The SYC.Flow.Kernel.ProcessflowEventArgs instance containing the event data.

Returns

Task

OnExitAsync(FlowProcessor, object, EventArgs)

Called when [exit asynchronous].

Task OnExitAsync(FlowProcessor flowProcessor, object sender, EventArgs args)

Parameters

flowProcessor FlowProcessor
sender object

The sender.

args EventArgs

The SYC.Flow.Kernel.ProcessflowEventArgs instance containing the event data.

Returns

Task