Interface IOperationMiddleware
Middleware for intercepting operations.
public interface IOperationMiddleware
Methods
Intercept(OperationContext, IOperationHandler<object?, object?>)
Intercepts an operation. Called for each call on an operation.
IOperationHandler<object?, object?> Intercept(OperationContext context, IOperationHandler<object?, object?> nextHandler)
Parameters
contextOperationContextContext.
nextHandlerIOperationHandler<object, object>Next handler most middleware should delegate to.
Returns
- IOperationHandler<object, object>
An operation handler that will be used to make the call.