TryFuncTInput, TOutResult Delegate
Encapsulates a method that has one parameter and tries to return a value of the type TOutResult as an parameter.
Namespace: Karamba.UtilitiesAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public delegate (bool , TOutResult ) TryFunc<in TInput, TOutResult>(
TInput input
)
Public Delegate Function TryFunc(Of In TInput, TOutResult) (
input As TInput
) As ( As Boolean, As TOutResult)
generic<typename TInput, typename TOutResult>
public delegate ValueTuple<bool, TOutResult> TryFunc(
TInput input
)
type TryFunc =
delegate of
input : 'TInput -> ValueTuple<bool, 'TOutResult>
- input TInput
-
- TInput
- The type of the parameter.
- TOutResult
- The type of the return value of the method that this delegate encapsulates.
ValueTupleBoolean,
TOutResult
A tuple with a that shows if the method that this delegate encapsulates has succeeded and the return value.