Interface IOperationContext<TInput>
OptimaJet.Workflow.Api.Configuration.IOperationContext<TInput>
Provides the complete logical input to operation callbacks.
Namespace: OptimaJet.Workflow.Api.Configuration
public interface IOperationContext<TInput> : IOperationContextType Hierarchy
- IOperationContext<TInput> Current type
- Base interfaces
Properties
TInput Input { get; } #Gets the current logical input. Authorization callbacks must also treat nested mutable values as read-only.
Methods
void ReplaceInput(TInput input) #Replaces input for subsequent callbacks and the handler during OnBefore.
Parameters
Name
Type
Description
input{TInput}The replacement logical input.
Exceptions
Type
Description
InvalidOperationExceptionThe current callback is not OnBefore.