Delegate TryStrategy<TIn, TOut>.TryHandler
- Namespace
- PatternKit.Behavioral.Strategy
- Assembly
- PatternKit.Core.dll
Delegate type representing a handler that attempts to produce a result.
public delegate bool TryStrategy<TIn, TOut>.TryHandler(in TIn input, out TOut? result)
Parameters
inputTInThe input value.
resultTOutWhen the method returns true, contains the output result. Otherwise set to default.
Returns
- Extension Methods