Represents a delegate that decorates a function.
Namespace:
Gallio.CommonAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public delegate TResult FuncDecorator<T, TResult>( T obj, Func<T, TResult> func ) |
| Visual Basic (Declaration) |
|---|
Public Delegate Function FuncDecorator(Of T, TResult) ( _ obj As T, _ func As Func(Of T, TResult) _ ) As TResult |
Parameters
- obj
- Type: T
The object to act upon.
- func
- Type: Gallio.Common..::.Func<(Of <(T, TResult>)>)
The function to decorate which should be called in the middle of applying the decoration.
Type Parameters
- T
- The type of object the function is performed upon.
- TResult
- The type of the function result.
