Interface IWorkflowApiBuilder
OptimaJet.Workflow.Api.Configuration.IWorkflowApiBuilder
Configures operations for one service provider after all module defaults have been loaded.
Namespace: OptimaJet.Workflow.Api.Configuration
public interface IWorkflowApiBuilderMethods
IOperationBuilder<TInput, TSuccess> ConfigureOperation<TInput, TSuccess>(Func<WorkflowApi, Operation<TInput, TSuccess>> selector) #Selects an operation and returns its shared builder for this application.
Parameters
Name
Type
Description
selectorFunc<WorkflowApi, OperationTInput, TSuccess>A selector evaluated once during configuration, never during a request.
Returns
Type
Description
IOperationBuilder<TInput, TSuccess>The builder for the selected operation; repeated selections preserve earlier callbacks.
Exceptions
Type
Description
ArgumentNullExceptionThe selector is null.
InvalidOperationExceptionThe operation is unavailable or configuration is frozen.
Remarks
Configuration runs once. Retained builders reject changes after mapping fixes the configuration.