# Interface IOperationContext OptimaJet.Workflow.Api.Configuration.IOperationContext Provides the complete logical input to operation callbacks. Namespace: [OptimaJet.Workflow.Api.Configuration](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Configuration/) ```csharp public interface IOperationContext : IOperationContext ``` ## Type Hierarchy - IOperationContext Current type - Base interfaces - [IOperationContext](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Configuration/IOperationContext/) ## 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. | [Previous IOperationContext](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Configuration/IOperationContext/) [Next IOperationGroup](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Configuration/IOperationGroup/)