Interface IParsedExpressionDelegate<TArg, TResult>
- Namespace
- LfrlAnvil.Computable.Expressions
- Assembly
- LfrlAnvil.Computable.Expressions.dll
Represents a compiled parsed expression.
public interface IParsedExpressionDelegate<in TArg, out TResult>
Type Parameters
TArg
Argument type.
TResult
Result type.
- Extension Methods
Properties
Arguments
Collection of named unbound arguments. Values for those arguments must be provided during delegate invocation.
ParsedExpressionUnboundArguments Arguments { get; }
Property Value
Delegate
Underlying delegate.
Func<TArg?[], out TResult> Delegate { get; }
Property Value
- Func<TArg[], TResult>
Methods
Invoke(params TArg?[])
Invokes this delegate.
[Pure]
TResult Invoke(params TArg?[] arguments)
Parameters
arguments
TArg[]Argument values.
Returns
- TResult
Invocation result.
Exceptions
- InvalidParsedExpressionArgumentCountException
When not all Arguments received their value or too many values were provided.