FunctionUtils.ApplyWithError Methode

Definition

Generiere einen Ausdrucksdelegat, der nach der Verifizierung aller Kinder die Funktion anwendet.

public static AdaptiveExpressions.EvaluateExpressionDelegate ApplyWithError(Func<System.Collections.Generic.IReadOnlyList<object>,(object, string)> function, AdaptiveExpressions.FunctionUtils.VerifyExpression verify = default);
static member ApplyWithError : Func<System.Collections.Generic.IReadOnlyList<obj>, ValueTuple<obj, string>> * AdaptiveExpressions.FunctionUtils.VerifyExpression -> AdaptiveExpressions.EvaluateExpressionDelegate
Public Shared Function ApplyWithError (function As Func(Of IReadOnlyList(Of Object), ValueTuple(Of Object, String)), Optional verify As FunctionUtils.VerifyExpression = Nothing) As EvaluateExpressionDelegate

Parameter

function
Func<IReadOnlyList<Object>,ValueTuple<Object,String>>

Funktion anzuwenden.

verify
FunctionUtils.VerifyExpression

Funktion, um jedes Arg auf Gültigkeit zu überprüfen.

Gibt zurück

Delegiere für die Bewertung eines Ausdrucks.

Gilt für: