Delegate Decorator<TIn, TOut>.AroundTransform
- Namespace
- PatternKit.Structural.Decorator
- Assembly
- PatternKit.Core.dll
Delegate for wrapping the entire execution with custom logic (e.g., logging, error handling).
public delegate TOut Decorator<TIn, TOut>.AroundTransform(TIn input, Decorator<TIn, TOut>.Component next)
Parameters
inputTInThe input value.
nextDecorator<TIn, TOut>.ComponentDelegate to invoke the next layer in the chain.
Returns
- TOut
The result after applying the wrapper logic.
- Extension Methods