TryFuncTInput, TOutResult Delegate

Encapsulates a method that has one parameter and tries to return a value of the type TOutResult as an parameter.

Definition

Namespace: Karamba.Utilities
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public delegate (bool , TOutResult ) TryFunc<in TInput, TOutResult>(
	TInput input
)

Parameters

input  TInput
 

Type Parameters

TInput
The type of the parameter.
TOutResult
The type of the return value of the method that this delegate encapsulates.

Return Value

ValueTupleBoolean, TOutResult
A tuple with a that shows if the method that this delegate encapsulates has succeeded and the return value.

See Also

copyright © 2024 Clemens Preisinger - Karamba3D. All rights reserved.