Class ExpressionEventArgs
- Namespace
- NRules.Diagnostics
- Assembly
- NRules.dll
Information related to expression evaluation events.
public class ExpressionEventArgs : EventArgs
- Inheritance
-
ExpressionEventArgs
- Derived
- Inherited Members
Constructors
ExpressionEventArgs(Expression, Exception?, object[], object?)
Initializes a new instance of the ExpressionEventArgs
class.
public ExpressionEventArgs(Expression expression, Exception? exception, object[] arguments, object? result)
Parameters
expression
ExpressionExpression that caused the event.
exception
ExceptionException thrown during expression evaluation.
arguments
object[]Arguments passed to expression during evaluation.
result
objectResult of expression evaluation.
Properties
Arguments
Arguments passed to the expression during evaluation.
public virtual IReadOnlyCollection<object?> Arguments { get; }
Property Value
Exception
Exception thrown during expression evaluation.
public Exception? Exception { get; }
Property Value
Expression
Expression that caused the event;
public Expression Expression { get; }
Property Value
Result
Result of expression evaluation.
public object? Result { get; }