Table of Contents

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

input TIn

The input value.

result TOut

When the method returns true, contains the output result. Otherwise set to default.

Returns

bool

true if this handler successfully produced a result.

Extension Methods