Table of Contents

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

input TIn

The input value.

next Decorator<TIn, TOut>.Component

Delegate to invoke the next layer in the chain.

Returns

TOut

The result after applying the wrapper logic.

Extension Methods