Assembly: OptimaJet.Workflow.Api

Interface IOperationContext<TInput>

OptimaJet.Workflow.Api.Configuration.IOperationContext<TInput>

Provides the complete logical input to operation callbacks.

public interface IOperationContext<TInput> : IOperationContext

Type Hierarchy

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
InvalidOperationException
The current callback is not OnBefore.